poreflow.RawDataFrame
¶
Bases: BaseDataFrame
i_loc
property
¶
Get column number, usefol for iloc
v_loc
property
¶
Get column number, usefol for iloc
from_labview(filename, sfreq=5000, bfreq=None, bamp=None, verbose=False)
classmethod
¶
Reads measurement data from a LabView .dat file and creates a Raw data object.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
verbose
|
bool
|
|
False
|
filename
|
PathLike
|
Path to the measurement data file to be loaded. |
required |
sfreq
|
Optional[float]
|
Target frequency for optional downsampling. Defaults to 5000 Hz. |
5000
|
bfreq
|
Optional[float]
|
Bias voltage frequency in Hz. Defaults to None, which corresponds to a constant voltage measurement. |
None
|
bamp
|
Optional[float]
|
Bias voltage amplitude in mV. Defaults to None, which corresponds to a constant voltage measurement. |
None
|
Returns:
| Type | Description |
|---|---|
RawDataFrame
|
poreflow.base.RawDataFrame: A RawDataFrame object containing the processed voltage and current data. |
get_t(absolute=False, n=None)
¶
Get time array
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
absolute
|
bool
|
Whether to return absolute time (start from start time). Defaults to False. |
False
|
n
|
int
|
Number of time points to return. Defaults to None, in which case an number of time points is equal to the current data is returned |
None
|
Returns:
load(path)
classmethod
¶
plot(y='i', x='abs', ax=None, ms=False, stats=True, ios=True, max_points=0, hue=None, events=None, **kwargs)
¶
reset_indices()
¶
Resets indices of data