This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Nanoscope is a library to handle parsing and processing of Veeco Nanoscope Dimension AFM files. Currently hard-coded to only work for version 0x05120130 since that is what I have access to for testing, but it will likely work on newer versions.

Features

The current featureset includes:

  • Read raw Nanoscope files and image data (height, amplitude, phase)
  • Calculate standard summary information (RMS Roughness, Z-range, etc.)
  • Output the image in a Pillow-compatible format for saving
  • Data is cached after individual process steps to avoid unneeded reprocessing

Installation

Nanoscope can be easily installed using pip.

$ pip install nanoscope

Usage

An example of typical usage is shown below, including using Pillow to save the image to png and printing Z-range and RMS data to the console

import nanoscope
from PIL import Image

p = nanoscope.read('./file.000')
p.height.process()
print(p.height.zrange, p.height.rms)
pixels = p.height.colorize()
Image.fromarray(pixels).save('file.png')

The various image types can also be looped through using an iterator when processing, and the settings of the processing steps customized

import nanoscope

p = nanoscope.read('./file.000')
for img in p:
    img.process(order=2)  # flatten the image using second-order function
    print(img.type, img.rms)

The processing steps can also be called individually if needed

import nanoscope
p = nanoscope.read('./file.000')
p.height.flatten()  # flatten the image, defaults to first-order flatten
p.height.convert()  # convert the raw data to scaled values
Release History

Release History

0.10.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
nanoscope-0.10.2.tar.gz (9.0 kB) Copy SHA256 Checksum SHA256 Source Apr 13, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting