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)
More useage information can be found in the examples folder.
Features
Read files with .axz, .axd, file extensions
Extract AFM spectral and height map images as numpy arrays
Export spectra and images to xarray type
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file anasyspythontools-0.5.2.tar.gz.
File metadata
- Download URL: anasyspythontools-0.5.2.tar.gz
- Upload date:
- Size: 25.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb782c4b7b8f32bb88ef7e8ab80803cbd58f92e44eb1cd74c0dcba6076e4fbc9
|
|
| MD5 |
a7f76c6078de43c1fe82fd7aed4a6965
|
|
| BLAKE2b-256 |
48b3cf124f084c11fc238714f7d5aaabf2566204f30cfad17891fb3620260d2a
|
Provenance
The following attestation bundles were made for anasyspythontools-0.5.2.tar.gz:
Publisher:
release.yml on GeorgRamer/anasys-python-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
anasyspythontools-0.5.2.tar.gz -
Subject digest:
fb782c4b7b8f32bb88ef7e8ab80803cbd58f92e44eb1cd74c0dcba6076e4fbc9 - Sigstore transparency entry: 155195672
- Sigstore integration time:
-
Permalink:
GeorgRamer/anasys-python-tools@a261d4bfe3774395693383ae2e3e156393aaa5a5 -
Branch / Tag:
refs/tags/v0.5.2 - Owner: https://github.com/GeorgRamer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
self-hosted -
Publication workflow:
release.yml@a261d4bfe3774395693383ae2e3e156393aaa5a5 -
Trigger Event:
release
-
Statement type:
File details
Details for the file anasyspythontools-0.5.2-py3-none-any.whl.
File metadata
- Download URL: anasyspythontools-0.5.2-py3-none-any.whl
- Upload date:
- Size: 32.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0553b7971383f243edd56bf2bb37667aec63a9d4fc48d4d7b2844b4b32eb68be
|
|
| MD5 |
ed6e28f889b4291c606e37c502b4d0ec
|
|
| BLAKE2b-256 |
e83e26e6d065335c6a1f1379168e9ed803dfa0cd7393c4ba35995cf471021432
|
Provenance
The following attestation bundles were made for anasyspythontools-0.5.2-py3-none-any.whl:
Publisher:
release.yml on GeorgRamer/anasys-python-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
anasyspythontools-0.5.2-py3-none-any.whl -
Subject digest:
0553b7971383f243edd56bf2bb37667aec63a9d4fc48d4d7b2844b4b32eb68be - Sigstore transparency entry: 155195674
- Sigstore integration time:
-
Permalink:
GeorgRamer/anasys-python-tools@a261d4bfe3774395693383ae2e3e156393aaa5a5 -
Branch / Tag:
refs/tags/v0.5.2 - Owner: https://github.com/GeorgRamer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
self-hosted -
Publication workflow:
release.yml@a261d4bfe3774395693383ae2e3e156393aaa5a5 -
Trigger Event:
release
-
Statement type: