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

Source code: SPICE_DATA::get_header

Class: SPICE_DATA

Description

This method returns the header of the given extension, either as a string array or as a structure.

Syntax

header = spice_object->get_header( extension [, /lower_dumbbell] [, /upper_dumbbell] [, /structure] )

Return Value

Returns the header as a string array or a structure.

Arguments

extension

The index or name of the extension for which the header should be returned. This input will be ignored if either LOWER_DUMBBELL or UPPER_DUMBBELL is set.

Keywords

lower_dumbbell

If set, the header of the lower dumbbell will be returned.

upper_dumbbell

If set, the header of the upper dumbbell will be returned.

structure

If set, the header will be returned as a structure instead of a string array.