SPICE_DATA::get_window_index - ITA-Solar/solo-spice-ql GitHub Wiki

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.