v make

From DavinciWiki
Jump to: navigation, search

Description

Create a v_object from an ISIS projected cube.

Arguments and Return Values

Arguments: Accepts an ISIS projected cube read in using load_pds

Return Values: A davinci structure containing .data, .lines, .samples, .x, .y, .w, and .h

Usage

Syntax: v_make(src = STRUCT [,geo = BOOL])

src - The ISIS cube structure from load_pds

geo - use a Geo-Struct compatible file instead

Examples

dv> a
struct, 9 elements
   record_type: "FIXED_LENGTH"
   record_bytes: 512
   file_records: 234636
   label_records: 24
   file_state: "CLEAN"
   ptr_to_history: 25
   history: struct, 2 elements
       Object: "HISTORY"
       data: struct, 16 elements...
   ptr_to_qube: 55
   qube: struct, 37 elements
       Object: "QUBE"
       axes: 3
       axis_name: Text Buffer with 3 lines of text
           1: SAMPLE
           2: LINE
           3: BAND
       core_items: 3x1x1 array of int, bsq format [12 bytes]
       core_item_bytes: 4
       core_item_type: "PC_REAL"
       core_base: 0.000000000
       core_multiplier: 1.000000000
       core_valid_minimum: 2147483647
       core_null: 2147483647
       core_low_repr_saturation: 2147483647
       core_low_instr_saturation: 2147483647
       core_high_instr_saturation: 2147483647
       core_high_repr_saturation: 2147483647
       suffix_bytes: 4
       suffix_items: 3x1x1 array of int, bsq format [12 bytes]
       core_name: "CALIBRATED_SPECTRAL_RADIANCE"
       core_unit: ""WATT*CM**-2*SR**-1*UM**-1""
       data_set_id: ""ODY-M-THM-3-IRRDR-V1.0""
       producer_id: ""ODY_THM_TEAM""
       product_id: ""I01126001RDR""
       product_creation_time: ""2004-10-10T13:58:06.000Z""
       product_version_id: 1.600000000
       release_id: ""0002""
       orbit_number: 1126
       flight_software_version_id: 1.000000000
       command_sequence_number: 1126
       target_name: ""MARS""
       isis_instrument: struct, 15 elements...
       isis_target: struct, 5 elements...
       band_bin: struct, 8 elements...
       themis_keywords: struct, 4 elements...
       isis_ingestion: struct, 4 elements...
       isis_geometry: struct, 8 elements...
       image_map_projection: struct, 19 elements...
       volatile_info: struct, 2 elements...
       data: 829x3622x10 array of float, bsq format [120,105,520 bytes]
dv> a = v_make(src=a)
struct, 7 elements
   x: -414
   y: 2849
   w: 829
   h: 3622
   lines: 3600
   samples: 320
   data: 829x3622x10 array of float, bsq format [120,105,520 bytes]

Or using a non-explicit definition of variables

dv> a = v_make(src=a)
struct, 7 elements
   x: -414
   y: 2849
   w: 829
   h: 3622
   lines: 3600
   samples: 320
   data: 829x3622x10 array of float, bsq format [120,105,520 bytes]

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

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

All other topics

  • See navigation on the left

Major Sub-Functions

Related Functions

Recent Library Changes

Created On: 02-20-2006
Modified On: 07-29-2013

Personal tools