Auxiliary parts

class octant.parts.TrackSettings(fname_path=None)[source]

Bases: object

Dictionary-like container of tracking settings.

TrackSettings object is constructed by reading .conf file used by the tracking algorithm.

Note: the .conf file can only have lines with key-value pairs, e.g. lon1=20 or comment lines starting with #

__init__(fname_path=None)[source]

Initialise TrackSettings.

Parameters

fname_path (pathlib.Path, optional) – Path to .conf file with settings (usually is in the same folder as the tracking output)

copy()[source]

Create a copy of TrackSettings.

property extent

List of lon1, lon2, lat1, lat2 showing the region used for tracking.

to_dict()[source]

Convert TrackSettings to a dictionary.

classmethod from_dict(data)[source]

Construct TrackSettings from a dictionary.

Parameters

data (dict) – Dictionary with appropriate keys

Returns

Return type

octant.parts.TrackSettings