load bin5
(3 intermediate revisions by one user not shown) | |||
Line 2: | Line 2: | ||
Loads data from a BIN5 file | Loads data from a BIN5 file | ||
| | | | ||
− | Arguments: | + | Arguments: A string containing the path |
− | Return Value: | + | Return Value: A bin5 data product |
| | | | ||
− | Syntax: load_bin5(filename= | + | [[Syntax]]: load_bin5(filename = STRING) |
BIN5 files are generated as an output from krc, the thermal inertia modeler. These files can have more than three dimensions. | BIN5 files are generated as an output from krc, the thermal inertia modeler. These files can have more than three dimensions. | ||
Line 44: | Line 44: | ||
[[category:Davinci Core]] | [[category:Davinci Core]] | ||
[[category:Input/Output]] | [[category:Input/Output]] | ||
+ | [[category:64-bit]] |
Latest revision as of 11:06, 6 July 2009
Contents: Description, Arguments, Usage, Related Functions Supported Under Version: >1.69 Current Davinci Version: 2.27 64-bit Safe: Yes
Description Loads data from a BIN5 file
Arguments and Return Values Arguments: A string containing the path Return Value: A bin5 data product
Usage Syntax: load_bin5(filename = STRING) BIN5 files are generated as an output from krc, the thermal inertia modeler. These files can have more than three dimensions. Let's assume that the number of dimensions in a given bin5 file is represented by N. If N<=3 the data is returned as a 3D-cube. If N>3 then cubes are formed out of the last three dimensions and concatenated in a hierarchy of structures as unnamed elements. For example, for a file with dimensions [W,X,Y,Z], the result will be a structure with W (unnamed) elements each of size [XxYxZ]. Similarly, for a file with dimensions [V,W,X,Y,Z], the result will be a structure with V (unnamed) sub-structures. Each sub-structure of V will be a structure with W (unnamed) elements each of size [XxYxZ]. If the data were loaded into a variable called named "a", then a data element can be accessed in "a" as "a[w][x,y,z]" for the 4D case above and as "a[v][w][x,y,z]" for the 5D case above. Notes: A bin5 file has a text label (multiple of 512 bytes) which looks like: N d1 d2 .. dN Y E [L] <<... TIME>>TEXT ... ARCH C_END where,
|
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Recent Core Changes Modified On: 07-06-2009 |