fluidlab.objects.mscti_probes¶
Probes (fluidlab.objects.mscti_probes
)¶
- class fluidlab.objects.mscti_probes.MSCTIProbe(channels=['Dev1/ai1', 'Dev1/ai2'], sample_rate=100, Vmin=-5, Vmax=5, mode='Diff', files_calib=None)[source]¶
Represent a MSCTI conductivity (+ temperature) probe.
- Parameters:
- measure_volts(duration, path_save=None, sample_rate=None, return_time=True, verbose=False)[source]¶
Measure and return the times and voltages.
- Parameters:
- duration
(in s)
- plot_profile(file_profile, z=None, voltrho=None)[source]¶
Plots the measurements of the save profile.
- prepare_calibration(rho_min=1, rho_max=1.18, nb_solutions=6)[source]¶
Gives indications to prepare a calibration.
- calibrate(rho, T, duration=2.0)[source]¶
Calibrates the probe.
- Parameters:
- rho
The density \(\rho\) of the sample (in kg/l)).
- T
Temperature in C
- durationnumber
The duration of one measurement (in s).
Notes
\(\rho(C)\) and \(U(C, T)\), where \(C\) the concentration, \(U\) the voltage and \(T\) the temperature.
- calibrate_temperature(rho, T, duration=2.0)[source]¶
Calibrates the temperature probe.
- Parameters:
- rho
The density \(\rho\) of the sample (in kg/l).
- T
Temperature in C
- durationnumber
The duration of one measurement (in s).
Notes
\(\rho(C)\) and \(U(C, T)\), where \(C\) the concentration, \(U\) the voltage and \(T\) the temperature.
- plot_calibration(rho=None, voltrho=None)[source]¶
Plots the measurements of the saved calibrations for rho.
Functions
|
Loads the data from the previous calibrations. |
Classes
|
Represent a MSCTI conductivity (+ temperature) probe. |