Skip to main content

Read data and parameters from Nanosurf NID and NHF files

Project description

NSFopen

Open Nanosurf NID files in Python

Installing

From source

python setup.py install

or from PyPi

pip install nanosurf

Prequisites

numpy

itertools

pandas (recommended, required for NHF for now)

h5py (required for NHF files)

Example Script

Available in example folder

Example: NID File

from NSFopen.read import nid_read
afm = nid_read('filename.nid')
data = afm.data # raw data
param = afm.param # parameters

Example: NHF File

from NSFopen.read import nhf_read
afm = nhf_read('filename.nhf')
data = afm.data # raw data
param = afm.param # parameters

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

NSFopen-2.0.4.tar.gz (23.1 MB view hashes)

Uploaded Source

Built Distribution

NSFopen-2.0.4-py3-none-any.whl (23.1 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page