afmformats.afm_segment

Classes

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

class afmformats.afm_segment.AFMSegment(raw_data, data, segment)[source]

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

This class also caches the segment indices.

Inheritance

Inheritance diagram of AFMSegment
clear_cache()[source]

Invalidates the segment indices corresponding to self.data

segment

The segment type (approach, intermediate, or retract)

property segment_indices

boolean array of segment indices