afmformats.afm_group
¶
Classes¶
AFMGroup
: Container forafmformats.afm_data.AFMData
- class afmformats.afm_group.AFMGroup(path=None, meta_override=None, callback=None, modality=None, data_classes_by_modality=None)[source]¶
Container for
afmformats.afm_data.AFMData
- Parameters
path (str or pathlib.Path or None) – If this option is specified, then an AFMGroup is generated directly from a datafile.
meta_override (dict) – Dictionary with metadata that is used when loading the data in path.
callback (callable or None) – A method that accepts a float between 0 and 1 to externally track the process of loading the data.
data_classes_by_modality (dict) – Override the default AFMData class to use for managing the data (see
default_data_classes_by_modality
): This is e.g. used by index to pass Indentation (which is a subclass of the default AFMForceDistance) for handling “force-indentation” data.
Inheritance
- append(afmdata)[source]¶
Append an AFMData instance
- Parameters
afmdata (afmformats.afm_data.AFMData) – AFM data