Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 525 Bytes

README.md

File metadata and controls

29 lines (18 loc) · 525 Bytes

Pyafmreader V.x.x.x

In development, not stable.

If you have any questions, contact: [email protected]

Installation

  1. Download repository
  2. Run python -m setup.py install

Usage

from pyafmreader import loadfile

NANOSC_FV_PATH = 'tests/testfiles/20200903_Egel2.0_00023.spm'

NANOSC_FV_FILE = loadfile(NANOSC_FV_PATH)

metadata = NANOSC_FV_FILE.filemetadata

piezoimg = NANOSC_FV_FILE.getpiezoimg()

FC = NANOSC_FV_FILE.getcurve(0)

FC_segments = FC.get_segments()

segment_0 = FC_segments[0]