voltageScale¶
-
fiducia.rawProcess.
voltageScale
(hf, df)[source]¶ Scales voltage (vertical) axis of dante signals based on information contained in the header. Returns a dataframe with the dante signals in units of volts. Also returns an errors/uncertainties frame in units of volts, where the uncertainty due to the 11-bit ADC converter has been calculated.
- Parameters
hf (pandas.core.frame.DataFrame) – Header dataframe from dante .dat file. See readDanteData().
df (pandas.core.frame.DataFrame) – Dante dataframe. See readDanteData().
- Returns
dfScaled (pandas.core.frame.DataFrame) – Dante dataframe with signals in units of volts.
errFrame (pandas.core.frame.DataFrame) – Correspoding errors for dfScaled. Also in units of volts.
Notes
Examples