

set ( ** ax_properties ) # set axes properties plt. create_force_hold_time_plot ( METRIC ) plt. show () hold_plot, ax_properties = channel. HoldCurveFile ( "ForceHold.spm" ) as file_ : channel = file_ # get timed data of channel ft_plot, ax_properties = channel. run_example ( 2 ) # run example #2Įxamples.py contains the following code for example #2 to read and plot a force curve with hold segment: import matplotlib.pyplot as plt import nanoscope from nanoscope import files from nstants import FORCE, METRIC, VOLTS, PLT_kwargs i_chan = 0 # This will provide Nanoscope channel #1 with files. examples ) # get a list of specific examples ns. copy_examples_code () # prompt user to save a copy of the examples code Examples.py help ( ns. It is contained in the module, but not imported by default.


Note that acquisition channel numbers start with zero, not with one as is the convention in Nanoscope software.įor detailed examples, please refer to the included example code (and associated raw data files).

You can check the version and whether it is 64bit by launching the Python command line interface.Microsoft Windows 7 - 10 operating system.Use the pip package manager to install nanoscope. Additionally there is a small subset of other header information available (spring constant, etc.). The package parses the header and provides scaled data in desired units (Volt, Metric, Force). Script data (RampScripting, AFM-nDMA, SS-PFM, etc.).PeakForce Capture (PFC) data (collected in PeakForce QNM).Force Volume data with surface hold segment (electrical DCUBEs, AFM-nDMA, FFV-CR, etc.).Force curves with a surface hold segment.force curves without a surface hold segment, SECM data, etc. There is also some support for data acquired with the NanoDrive acquisition software. Package to read data files collected using Bruker, Veeco, and Digital Instruments Atomic Force Microscopes (AFMs) using Nanoscope v5.12 - v10.00 acquisition software.
