resistics.calibrate.utils module¶
-
resistics.calibrate.utils.
defaultCalibration
()[source]¶ Default calibration data
- Returns
- datanp.ndarray
Data lines converted to a float array
- staticGainfloat
Static gain
-
resistics.calibrate.utils.
getCalName
(format, ext: str, sensor: str, serial: int, chopper) → str[source]¶ Get the calibration file name
- Parameters
- formatstr
Calibration format
- extstr
Calibration file extension
- sensorstr
Sensor name
- serialint
The sensor serial number
- chopperbool
Boolean flag for chopper on or off
- Returns
- outstr
Name of calibration file
-
resistics.calibrate.utils.
getKnownCalibrationFormats
() → Tuple[List, List][source]¶ Return list of supported calibration formats and their extensions
- Returns
- extensionsList
List of calibration file extensions
- formatsList
List of calibration file formats
-
resistics.calibrate.utils.
inductionName
(ext: str, sensor: str, serial: int, chopper: bool) → str[source]¶ Get internal format induction coil calibration file name
- Parameters
- extstr
Calibration file extension
- sensorstr
Sensor name
- serialint
The sensor serial number
- chopperbool
Boolean flag for chopper on or off
- Returns
- outstr
Name of calibration file
-
resistics.calibrate.utils.
metronixName
(ext: str, sensor: str, serial: int, chopper: bool) → str[source]¶ Get Metronix calibration file name
- Parameters
- extstr
Calibration file extension
- sensorstr
Sensor name
- serialint
The sensor serial number
- chopperbool
Boolean flag for chopper on or off
- Returns
- outstr
Name of calibration file
-
resistics.calibrate.utils.
rspName
(ext: str, sensor: str, serial: int, chopper: bool) → List[str][source]¶ Get RSP calibration file name
- Parameters
- extstr
Calibration file extension
- sensorstr
Sensor name
- serialint
The sensor serial number
- chopperbool
Boolean flag for chopper on or off
- Returns
- outList[str]
Name of calibration files
-
resistics.calibrate.utils.
rspxName
(ext: str, sensor: str, serial: int, chopper: bool) → List[str][source]¶ Get RSPX calibration file name
- Parameters
- extstr
Calibration file extension
- sensorstr
Sensor name
- serialint
The sensor serial number
- chopperbool
Boolean flag for chopper on or off
- Returns
- outList[str]
Name of calibration files