afmformats.formats.fmt_chiaro_txt

Functions

  • load_txt(): Load text files exported by the Optics11 Chiaro Indenter.

afmformats.formats.fmt_chiaro_txt.load_txt(path, callback=None, meta_override=None)[source]

Load text files exported by the Optics11 Chiaro Indenter.

Parameters:
  • path (str or pathlib.Path or io.TextIOBase) – path to an chiaro-exported .txt file

  • callback (callable) – function for progress tracking; must accept a float in [0, 1] as an argument.

  • meta_override (dict) – if specified, contains key-value pairs of metadata that are used when loading the files (see afmformats.meta.META_FIELDS)