TReK Python
5.3.3
Telemetry/Command API
|
This class calibrates a value using a series of line segments. More...
Inherits Calibrator.
Public Member Functions | |
Initialize / Finalize | |
Functions handling class initialization and finalization. | |
def | SplineCalibrator ( Optional[SplineCalibrator] spline_calibrator=None, Optional[c_void_p] native_ptr=None, is_clone: bool=False -> def -> def -> def ) -> def |
Class initializer. More... | |
def | clone ( -> SplineCalibrator -> def -> def ) -> def |
Creates and returns an extact copy of the object. More... | |
def | copy (copy_from: object -> None -> def -> def ) -> def |
Copies the contents of the provided 'copy_from' SplineCalibrator. More... | |
def | initialize ( -> None -> def -> def ) -> def |
Initializes the object. More... | |
def | load_file (filename: str -> None -> def -> def ) -> def |
Loads the SplineCalibrator definition from the specified file. More... | |
def | save_file (filename: str -> None -> def -> def ) -> def |
Saves the SplineCalibrator definition to the specified file. More... | |
Calibration | |
Functions for handling calibration. | |
def | calibrate (input_value: float -> float -> def -> def ) -> def |
Performs the calibration on the input value. More... | |
def | clear_all_points ( -> None -> def -> def ) -> def |
Removes all points defining the line segments. | |
def | get_number_of_points ( -> int -> def -> def ) -> def |
Returns the number of points in the calibrator. More... | |
def | get_points ( -> List[SplineCalibratorPoint] -> def -> def ) -> def |
Gets all of the points for the calibrator. More... | |
def | add_point (new_converted: float, new_calibrated: float -> None -> def -> def ) -> def |
Adds a point to the calibrator. More... | |
def | SplineCalibrator ( -> def -> def -> def ) -> def |
Class initializer. More... | |
def | initialize ( -> None -> def -> def ) -> def |
Initializes the object. More... | |
def | calibrate (input_value: float -> float -> def -> def ) -> def |
Virtual method for derived classes to calibrate an input value. More... | |
def | clone ( -> Calibrator -> def -> def ) -> def |
Creates and returns an extact copy of the object. More... | |
![]() | |
def | __eq__ (named_item: object -> bool -> def -> def ) -> def |
Equality operator "==". More... | |
def | get_alias ( -> str -> def -> def ) -> def |
Returns the alias of the item. More... | |
def | get_name ( -> str -> def -> def ) -> def |
Returns the name of the item. More... | |
def | get_long_description ( -> str -> def -> def ) -> def |
Returns the long description of the item. More... | |
def | get_short_description ( -> str -> def -> def ) -> def |
Returns the short description of the item. More... | |
def | get_user_description ( -> str -> def -> def ) -> def |
Returns the user description of the item. More... | |
def | get_owner ( -> str -> def -> def ) -> def |
Returns the owner of the item. More... | |
def | set_name (name: str -> None -> def -> def ) -> def |
Sets the name of the item. More... | |
def | set_alias (alias: str -> None -> def -> def ) -> def |
Sets the alias of the item. More... | |
def | set_short_description (description: str -> None -> def -> def ) -> def |
Sets the short description of the item. More... | |
def | set_long_description (description: str -> None -> def -> def ) -> def |
Sets the long description of the item. More... | |
def | set_user_description (description: str -> None -> def -> def ) -> def |
Sets the user description of the item. More... | |
def | set_owner (owner: str -> None -> def -> def ) -> def |
Sets the owner of the item. More... | |
This class calibrates a value using a series of line segments.
The number of line segments allowed is unbouded.
( | spline_calibrator | : Optional[SplineCalibrator] |