order

From DavinciWiki
Jump to: navigation, search


64-bit SafeYes

Description

Show or change an objects data organization. Identical to org

Arguments and Return Values

Arguments: a numeric array

Return Value: string containing organization type

Usage

Syntax: order(object = VAL [, order = BIL/BIP/BSQ])

The order() function reports or changes the data organization of an object. If used with only one argument, the data organization of the object specified is reported as a string. The return values are one of:

"bil" - Band interleaved by line (XZY) "bip" - Band interleaved by pixel (ZXY) "bsq" - Band sequential (XYZ)

If the second, optional, argument is included, the object specified by the first argument is duplicated and converted to the specified organization.

Examples

dv> a
3x1x1 array of float, bsq format [12 bytes]
64.0470 52.8969 28.7229

dv> order(a)
"bsq"

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Related Functions

Recent Core Changes

Modified On: 07-06-2009

Personal tools