make band

From DavinciWiki
Jump to: navigation, search

Description

Creates an xaxis in wavenumber/wavelength for major infrared instruments (e.g. ASTER, THEMIS, TES, Mini-TES,TIMS, etc.)

Arguments and Return Values

Arguments: instrument, output style

Return Value: a xaxis float array

Usage

Syntax: make_band([tes=1][, tes5=1][,tes73 =1][, mtes=1][, themis=1][, lab1=1][, aster=1][, tims=1][, modis=1][, full=1][, cm=1][, wave=1][, descend=1][, he=1])

Default is to return wavelength or wavenumber in natural order for specified instrument, i.e. ascending wavenumbers for spectrometers; ascending wavelength for broadband instruments

full = 1 Returns bandcenter and min and max (where appropriate) in cm-1 and microns, 'full' mode only returns default mode (no descend)

cm = 1 Returns bandcenter in ascending cm-1

wave = 1 Returns bandcenter in ascending wavelength

descend = 1 Inverts default order

apod = 1 Applies approximation of S. Chase apodization to TES

If cm flag is specified for broadband or wave flag for spectrometers, the order is still ascending, descend flag inverts the default order

Examples

dv> make_band(themis=1)
1x1x10 array of float, bsq format [40 bytes]
6.780000210

6.780099869

7.929999828

8.560000420

9.350000381

10.21000004

11.03999996

11.78999996

12.56999969

14.88000011

dv> make_band(themis=1,descend=1)
1x1x10 array of float, bsq format [40 bytes]
14.88000011

12.56999969

11.78999996

11.03999996

10.21000004

9.350000381

8.560000420

7.929999828

6.780099869

6.780000210

dv> make_band(themis=1,descend=1,cm=1)
1x1x10 array of float, bsq format [40 bytes]
1474.926147

1474.904541

1261.034058

1168.224243

1069.518677

979.4319458

905.7971191

848.1764526

795.5449829

672.0430298

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: 07-29-2010
Modified On: 11-29-2012

Personal tools