base — Default Driver Classes

The ale.drivers.base module

New in version 0.1.0.

class ale.base.base.Driver(file, num_ephem=909, num_quats=909, props={}, parsed_label=None)

Bases: object

Base class for all Drivers.

Attributes

_filestr

Reference to file path to be used by mixins for opening.

property center_ephemeris_time

Returns the average of the start and stop ephemeris times.

Returns

: double

Center ephemeris time for an image

property detector_center_line

Returns

: int

The detector line of the principle point

property detector_center_sample

Returns

: int

The detector sample of the principle point

property detector_start_line

Returns

: int

Zero based Detector line corresponding to the first image line

property detector_start_sample

Returns

: int

Zero based Detector sample corresponding to the first image sample

property ephemeris_start_time

Returns

property ephemeris_stop_time

Returns

property focal2pixel_lines

Returns

: list

3 element list containing affine transformation coefficient. The elements are as follows: constant, x coefficient, y coefficient

property focal2pixel_samples

Returns

: list

3 element list containing affine transformation coefficients. The elements are as follows: constant, x coefficient, y coefficient

property focal_length

Returns

: float

focal length

property frame_chain

Returns

FrameNode

The root node of the frame tree. This will always be the J2000 reference frame.

property image_lines

Returns

: int

Number of lines in image

property image_samples

Returns

: int

Number of samples in image

property line_summing

Returns

: int

Line summing

property naif_keywords

Returns

property pixel2focal_x

Returns

: list

3 element list containing coefficients for the pixels to focal plane transformation. The elements are as follows: constant, sample, line

property pixel2focal_y

Returns

:list

3 element list containing coefficients for the pixels to focal plane transformation. The elements are as follows: constant, sample, line

property platform_name

Returns

: str

Name of the platform that the sensor is on

property sample_summing

Returns

: int

Sample summing

property sensor_frame_id

Returns

property sensor_model_version

Returns

property sensor_name

Returns

: str

Name of the sensor

property sensor_position

Returns

: (positions, velocities, times)

a tuple containing a list of positions, a list of velocities, and a list of times

property sun_position

Returns

: (sun_positions, sun_velocities)

a tuple containing a list of sun positions, a list of sun velocities

property target_body_radii

Returns

: list

target body radii, first list element is semimajor axis, second is semiminor axis.

property target_frame_id

Returns

property target_name

Returns

property usgscsm_distortion_model

Returns

: dict

A dict containing the information about the distortion model for the usgscsm