afmformats.mod_force_distance

Classes

  • AFMForceDistance: Base class for AFM force-distance data

  • Segment: Simple wrapper around dict-like data to expose a single segment

class afmformats.mod_force_distance.AFMForceDistance(data, metadata, diskcache=False)[source]

Base class for AFM force-distance data

A force-distance dataset consists of an approach and a retract curve.

Initialization

Parameters
  • data (dict-like) – Experimental data

  • metadata (dict) – Metadata

  • diskcache (bool) – TODO

Inheritance

Inheritance diagram of AFMForceDistance
property appr

Dictionary-like interface to the approach segment

property modality

Imaging modality

property retr

Dictionary-like interface to the retract segment

class afmformats.mod_force_distance.Segment(raw_data, data, which='approach')[source]

Simple wrapper around dict-like data to expose a single segment

Inheritance

Inheritance diagram of Segment
which

The segment type (approach or retract)