lumicks.pylake.fdcurve.FDCurve¶
-
class
FDCurve(file, start, stop, name, force='2', distance='1')¶ An FD curve exported from Bluelake
By default, the primary force and distance channels are
downsampled_force2anddistance1. Alternatives can be selected usingFDCurve.with_channels(). Note that it does not modify the FD curve in place but returns a copy.Attributes: - file : lumicks.pylake.File
The parent file. Used to look up channel data.
- start, stop : int
The time range (ns) of this FD curve within the file.
- name : str
The name of this FD curve as it appeared in the timeline.
-
__init__(file, start, stop, name, force='2', distance='1')¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__(file, start, stop, name[, force, …])Initialize self. from_dset(h5py_dset, file, **kwargs)plot_scatter(**kwargs)Plot the FD curve points with_channels(force, distance)Return a copy of this FD curve with difference primary force and distance channels Attributes
dThe primary distance channel associated with this FD curve distance1distance2downsampled_force1downsampled_force1xdownsampled_force1ydownsampled_force2downsampled_force2xdownsampled_force2ydownsampled_force3downsampled_force3xdownsampled_force3ydownsampled_force4downsampled_force4xdownsampled_force4yfThe primary force channel associated with this FD curve -
plot_scatter(**kwargs)¶ Plot the FD curve points
Parameters: - **kwargs
Forwarded to
~matplotlib.pyplot.scatter.
-
with_channels(force, distance)¶ Return a copy of this FD curve with difference primary force and distance channels
-
d¶ The primary distance channel associated with this FD curve
-
f¶ The primary force channel associated with this FD curve