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.0.19.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.0.19-py3-none-any.whl (27.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gwyddionpy-0.0.19.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.0.19.tar.gz
Algorithm Hash digest
SHA256 39066fa0462104557e6f525041b89dd921e5050d9f2bf4f9b3f4ddc0cf558bcf
MD5 41177a4c82ec03dffb5660a366caa226
BLAKE2b-256 737d36f9c8e960290cdcda60ea6104d8505757ca6a995fc9eb416923424089d2

See more details on using hashes here.

Provenance

The following attestation bundles were made for gwyddionpy-0.0.19.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.0.19-py3-none-any.whl.

File metadata

  • Download URL: gwyddionpy-0.0.19-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.0.19-py3-none-any.whl
Algorithm Hash digest
SHA256 7ad180db4485b5a528896a1f6c7c1709ece03839a49143ad724710bcb45e3b4f
MD5 f24b6a8d91e3d07881ec11e8ca829445
BLAKE2b-256 cdee591c4120ef13942adca75c1c61a1bde66394627d82a4bd698f06743adea2

See more details on using hashes here.

Provenance

The following attestation bundles were made for gwyddionpy-0.0.19-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

0.1.0

2 files

This release

0.0.19 This release

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