thm.unscale
From DavinciWiki
|
Contents: Description, Arguments, Usage, Examples Supported Under Version: >1.69 Current Davinci Version: 2.27 64-bit Safe: No
Arguments and Return Values Arguments: A full PDS structure Return Value: A float array
Usage Syntax: thm.unscale(obj = STRUCT) All non-data values will be set to -32768.
Examples dv> a
struct, 29 elements
pds_version_id: "PDS3"
record_type: ""FIXED_LENGTH""
record_bytes: 644
file_records: 36040
label_records: 7
ptr_to_history: 8
ptr_to_spectral_qube: 21
mission_name: ""2001 MARS ODYSSEY""
instrument_host_name: ""2001 MARS ODYSSEY""
instrument_name: ""THERMAL EMISSION IMAGING SYSTEM""
instrument_id: ""THEMIS""
detector_id: ""IR""
mission_phase_name: ""MAPPING""
target_name: ""MARS""
product_id: ""I00816001RDR""
producer_id: ""ODY_THM_TEAM""
data_set_id: ""ODY-M-THM-3-IRRDR-V1.0""
product_creation_time: "2004-10-10T13:23:39"
product_version_id: ""1.6""
release_id: ""0002""
start_time: "2002-02-19T18:59:36.623"
stop_time: "2002-02-19T19:01:36.623"
spacecraft_clock_start_count: ""698612426.051""
spacecraft_clock_stop_count: ""698612546.051""
start_time_et: 6.74172e+07
stop_time_et: 6.74174e+07
orbit_number: 816
history: struct, 5 elements
Object: "HISTORY"
bytes: 8372
history_type: "CUSTOM"
interchange_format: "ASCII"
data: struct, 7 elements...
spectral_qube: struct, 54 elements
Object: "SPECTRAL_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_name: ""CALIBRATED_SPECTRAL_RADIANCE""
core_item_bytes: 2
core_item_type: "SUN_INTEGER"
core_base: 0.00000
core_multiplier: 1.00000
core_unit: ""WATT*CM**-2*SR**-1*UM**-1""
core_null: -32768
core_valid_minimum: -32752
core_low_repr_saturation: -32767
core_low_instr_saturation: -32766
core_high_repr_saturation: -32765
core_high_instr_saturation: -32764
suffix_items: 3x1x1 array of int, bsq format [12 bytes]
suffix_bytes: 4
sample_suffix_name: "HORIZONTAL_DESTRIPE"
sample_suffix_item_bytes: 4
sample_suffix_item_type: "SUN_REAL"
sample_suffix_base: 0.00000
sample_suffix_multiplier: 1.00000
sample_suffix_valid_minimum: 2147483647
sample_suffix_null: 2147483647
sample_suffix_low_repr_sat: 2147483647
sample_suffix_low_instr_sat: 2147483647
sample_suffix_high_repr_sat: 2147483647
sample_suffix_high_instr_sat: 2147483647
line_suffix_name: "VERTICAL_DESTRIPE"
line_suffix_item_bytes: 4
line_suffix_item_type: "SUN_REAL"
line_suffix_base: 0.00000
line_suffix_multiplier: 1.00000
line_suffix_valid_minimum: 2147483647
line_suffix_null: 2147483647
line_suffix_low_repr_sat: 2147483647
line_suffix_low_instr_sat: 2147483647
line_suffix_high_repr_sat: 2147483647
line_suffix_high_instr_sat: 2147483647
flight_software_version_id: ""1.00""
command_sequence_number: 816
image_id: 1
description: ""2 minute daytime IR Drift Test""
inst_cmprs_ratio: 2.42000
uncorrected_sclk_start_count: ""698612426.051""
image_duration: 119.999
gain_number: 16
offset_number: 0
time_delay_integration_flag: ""ENABLED""
missing_scan_lines: 1847
md5_checksum: ""5cb455a724570e3ed7162edcd7785b82""
band_bin: struct, 8 elements...
data: 320x3600x10 array of short, bsq format [23,040,000 bytes]
dv> b = thm.unscale(a)
core_null values set to -32768.0
320x3600x10 array of float, bsq format [46,080,000 bytes]
|
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Recent Core Changes Modified On: 03-27-2006 |