Acquisition

class erwans3.Instrument_class.Acquisition(values: Any, Acqreq: AcquisitionRequest, swarm_list: List[SatCoord])

Bases: object

Class representing acquisition measurements.

A class to store and manipulate the measurement of the instrument. Can be save as a dictionnary to be reused later

warning the init values should be the recorded/measured values

Attributes:

measureAny

The acquisition measurement values.

AcqreqAcquisitionRequest

The acquisition request associated with the measurements.

swarm_listList[SatCoord]

The list of satellite coordinates.

Methods:

save():

Save the acquisition measurements to a file in the specified format.

from_dict():

Load acquisition measurements from a dictionary.

from_file():

Load acquisition measurements from a file.

Methods Summary

from_dict(dict)

from_file(filename)

save(folder, filename[, format])

Save the acquisition measurements to a file.

Methods Documentation

classmethod from_dict(dict)
classmethod from_file(filename)
save(folder, filename, format='dict')

Save the acquisition measurements to a file.

Parameters:

folderstr or Path

The folder path where the file will be saved.

filenamestr

The name of the file to save.

formatstr, optional

The format in which to save the file (default is ‘dict’). Supported formats: ‘dict’, ‘fits’, ‘pickle’, ‘json’, ‘hdf5’, ‘ms’.

Raises:

ValueError

If the specified format is not supported.