Skip to content

SPICE_DATA::get_window_index

Martin Wiesmann edited this page Nov 25, 2022 · 3 revisions

Source code: SPICE_DATA::get_window_index

Class: SPICE_DATA

Description

Returns the window index/indices which contain a given wavelength or window name.

Syntax

array = spice_object->get_window_index( input )

Return Value

Integer array, with as many elements as input.

Arguments

input

Scalar or array of numbers or string. If input is one or more numbers, it is interpreted as wavelengths and indices of windows including those wavelengths are returned. If input is one or more strings, it is interpreted as the window ID and indices of the corresponding windows are returned.

Clone this wiki locally