Label Data — Label Data Mix-ins

Modules for accessing label data.

New in version 0.1.0.

class ale.base.label_isis.IsisLabel

Bases: object

Mix-in for parsing ISIS Cube labels.

property exposure_duration

The exposure duration of the image, in seconds

Returns

: float

Exposure duration in seconds

property image_lines

Returns an integer containing the number of lines in the image

Returns

: int

Number of lines in image

property image_samples

Returns an integer containing the number of samples in the image

Returns

: int

Number of samples in image

property instrument_id

Returns the short name of the instrument

Returns

: str

instrument id

property interframe_delay

The interframe delay in seconds

Returns

: float

interframe delay in seconds

property line_exposure_duration

The line exposure duration of the image, in seconds

Returns

: float

Line exposure duration in seconds

property line_summing

the number of detector lines summed to produce each image sample

Returns

: int

Line summing

property platform_name

Returns the name of the platform containing the sensor. This is usually the spacecraft name.

Returns

: str

Name of the platform which the sensor is mounted on

property sample_summing

Returns the number of detector samples summed to produce each image sample

Returns

: int

Sample summing

property sampling_factor

Returns the summing factor from the PDS3 label. For example a return value of 2 indicates that 2 lines and 2 samples (4 pixels) were summed and divided by 4 to produce the output pixel value.

Returns

: int

Number of samples and lines combined from the original data to produce a single pixel in this image

property sensor_model_version

Returns the ISIS camera version

Returns

: int

Camera version number

property sensor_name

Returns the name of the instrument

Returns

: str

Name of the sensor

property spacecraft_clock_start_count

The spacecraft clock start count, frequently used to determine the start time of the image.

Returns

: str

Spacecraft clock start count

property spacecraft_clock_stop_count

The spacecraft clock stop count, frequently used to determine the stop time of the image.

Returns

: str

Spacecraft clock stop count

property spacecraft_name

Returns the name of the spacecraft Returns ——- : str Full name of the spacecraft

property target_name

Target body name used in various Spice calls to acquire target specific ephemeris data.

Returns

: str

Target name

property utc_start_time

The UTC start time of the image. This is generally less accurate than converting the spacecraft start clock count using the spacecraft clock kernel (SCLK).

Returns

: datetime

Start time of the image in UTC

property utc_stop_time

The UTC stop time of the image. This is generally less accurate than converting the spacecraft stop clock count using the spacecraft clock kernel (SCLK).

Returns

New in version 0.1.0.

class ale.base.label_pds3.Pds3Label

Bases: object

Mix-in for parsing PDS3 PVL labels.

property crosstrack_summing

Returns the number of detector pixels (normally in the sample direction) that have been averaged to produce the output pixel

Returns

: int

Number of crosstrack pixels summed together

property downtrack_summing

Returns the number of detector pixels (normally in the line direction) that have been averaged to produce the output pixel

Returns

: int

Number of downtrack pixels summed together

property exposure_duration

Returns the exposure duration converted to seconds. If the exposure duration is not present in the PDS3 label, then this property returns the line exposure duration. Expects line_exposure_duration to be defined. This should be a floating point number containing the line exposure duration.

: float

Returns the exposure duration in seconds from the PDS3 label.

property filter_number

Returns

: int

Returns the filter number from the PDS3 label

property image_lines

Returns

property image_samples

Returns

: int

Number of samples in the image

property instrument_host_id

Returns the short name of the instrument host

Returns

property instrument_host_name

Returns the full name of the instrument host

Returns

property instrument_id

Returns the short name of the instrument

Returns

property instrument_name

Returns the full name of the instrument

Returns

property line_exposure_duration

Line exposure duration returns the time between the exposures for subsequent lines.

Returns

: float

Returns the line exposure duration in seconds from the PDS3 label.

property line_summing

Expects sampling_factor to be defined. This must be an integer containing the number of samples and lines combined from the original data

Returns

: int

Number of detector lines summed to produce each image line

property platform_name

Returns the name of the platform which the instrument is mounted on

Returns

: str

platform name

property sample_summing

Expects sampling_factor to be defined. This must be an integer containing the number of samples and lines combined from the original data

Returns

: int

Number of detector lines summed to produce each image line

property sampling_factor

Returns the summing factor from the PDS3 label. For example a return value of 2 indicates that 2 lines and 2 samples (4 pixels) were summed and divided by 4 to produce the output pixel value.

Returns

: int

Number of samples and lines combined from the original data to produce a single pixel in this image

property sensor_name

Returns the name of the instrument

Returns

: str

Name of the sensor

property spacecraft_clock_start_count

Returns

: str

Returns the start clock count string from the PDS3 label.

property spacecraft_clock_stop_count

Returns

: str

Returns the stop clock count string from the PDS3 label.

property spacecraft_name

Returns the name of the spacecraft

Returns

property target_name

Returns a target name uniquely identifying what an observation was capturing. This is most often a body name (e.g., Mars, Moon, Europa). This value is often use to acquire Ephemeris data from SPICE files; therefore it should be the same name spicelib expects in bodvrd calls.

Returns

: str

Target name

property utc_start_time

Returns the start time of the image as a UTC string

Returns

property utc_stop_time

Returns the stop time of the image as a UTC string

Returns