A suite of Python tools for use with Analysis Studio AFM-IR files.
Project description
NOTE
Please note that this package is currently beta. Things may break unexpectedly. Most functions writing to Analysis Studio format have been disabled so I don’t see how this package could break your existing data anymore.
Anasys Python Tools
Anasys Python Tools is a python package for working with files generated by Anasys Instruments’ (now Bruker) Analysis Studio software. Anasys Python Tools was originally developed by Cody Schindler from Anasys.
Basic Usage
import anasyspythontools as anasys
# Read your Analysis Studio file
f = anasys.read("afmdata.axz")
# Grab all the height map data from the file
heightmaps = f.HeightMaps
# Show off your beautiful images
heightmaps['Height 1'].show()
# Unsure what the data looks like? Try:
dir(f) # Displays user-accessible data
dir(f.HeightMaps)
Features
Read files with .axz, .axd, file extensions
Extract AFM spectral and height map images as numpy arrays
Quickly display and save your data
Use your data with popular Python data libraries and applications (Pandas, Orange3, Jupyter, etc.)
Work with your data when you’re away from your instruments
Evaluate your data in a trasparent and flexible way
Installation
From pip
pip install anasyspythontools
From github
Install the latest version:
pip install git+https://github.com/GeorgRamer/anasys-python-tools.git
or a specific branch:
pip install git+https://github.com/GeorgRamer/anasys-python-tools.git@<branchname>
Contribute
Feel free to fork and hack away!
If you have a feature you’d like to see, please open an Issue.
Support
This section previously said:
If you are having issues, please let us know. Email Cody directly at cschindler@anasysinstruments.com
Since Cody appears to have stopped working on this, please raise issues in this fork or email Georg at georg.ramer@tuwien.ac.at
License
The project is licensed under the MIT license.
Each .py file in this document has a header stating:
# Copyright 2017 Cody Schindler <cschindler@anasysinstruments.com>
#
# This program is the property of Anasys Instruments, and may not be
# redistributed or modified without explict permission of the author.
To my understanding the MIT license constitutes an “explicit permission” to redistribute and modify. To be on the safe side, I (GeorgRamer) have repeatedly, over a span of several years tried to get confirmation on that from Bruker. I never got a definite answer.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for anasyspythontools-0.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 952e253eaa7b0e0865baae2e0e9830c859867b30d545e6884030685af90820ed |
|
MD5 | 57137048403a74dabf3fa5fb362019d2 |
|
BLAKE2b-256 | 9a1e647c481bf84e2afc001acb3c3114575819a59b535aca5a7e60bc437ad3bf |