Skip to main content

gwyddionpy

Read any raw scanning probe microscopy (SPM) file that Gwyddion supports — around 170 vendor formats — into Python as NumPy arrays plus metadata dictionaries. Pure Python: the parsing is done by the gwyconvert helper binary, run as a subprocess.

import gwyddionpy

data = gwyddionpy.load("scan.spm")
data.channels["Height"].data      # numpy array, physical values
data.metadata                     # vendor metadata
data.to_json("scan.json")         # metadata only, no pixel data
data.to_hdf5("scan.h5")           # optional: pip install 'gwyddionpy[hdf5]'

gwyconvert is installed separately, most simply with pip install "gwyddionpy[converter]". See the repository README for the other options and for the licensing split (this package is Apache-2.0; the converter is GPL-2.0-or-later).

Download files

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

Source Distribution

gwyddionpy-0.1.0.tar.gz (26.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gwyddionpy-0.1.0-py3-none-any.whl (27.6 kB view details)

Uploaded Python 3

File details

Details for the file gwyddionpy-0.1.0.tar.gz.

File metadata

  • Download URL: gwyddionpy-0.1.0.tar.gz
  • Upload date:
  • Size: 26.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for gwyddionpy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 13ec0b5df93f7b05ff323451b5fcdc642595b200fe71b73be0b5cc0499c4b856
MD5 7037c10f7d644c6313d18a08e5b88694
BLAKE2b-256 befafb63271d4cbe24bcf1b30a0a533a3dd02934eee550c4a445a3882164383b

See more details on using hashes here.

Provenance

The following attestation bundles were made for gwyddionpy-0.1.0.tar.gz:

Publisher: publish.yml on FAIRmat-NFDI/gwyddionPy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gwyddionpy-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: gwyddionpy-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 27.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for gwyddionpy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a68209308e7e91e41222e9fe4d42e0a0eaf58a87e08294aaec5ce69e39242801
MD5 7bce7d0914f514f1699505e8443a399f
BLAKE2b-256 72148a7cf50350ff31dd407cbb9bb95c700bb8475ac49769d081a25ae28f073b

See more details on using hashes here.

Provenance

The following attestation bundles were made for gwyddionpy-0.1.0-py3-none-any.whl:

Publisher: publish.yml on FAIRmat-NFDI/gwyddionPy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

0.0.19

2 files

0.0.18

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page