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

Source code: SPICE_DATA::descale_array

Class: SPICE_DATA

Description

Descales the array, using BSCALE and BZERO keywords in the header. If you get the data from this object via get_window_data() while setting the keyword 'noload', you will have to call this method yourself.

Syntax

array = spice_object->descale_array( array, window )

Return Value

Returns the descaled array (=array * bscale + bzero).

Arguments

array

A numeric array, which is returned by SPICE_DATA::get_window_data.

window

The index or name of the window this array belongs to.