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.18.tar.gz (11.5 MB 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.18-py3-none-any.whl (27.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gwyddionpy-0.0.18.tar.gz
Algorithm Hash digest
SHA256 81702dc04c8e744afc1d473b634b8512de99f529b082c5d075579678d0e0f195
MD5 b01537ecf8bb7e8f72d65844bf1c9d0d
BLAKE2b-256 01380d7dc9a231aa41b52a6c35c0b2ecada4a39d712d69d67e8d0b64d251b514

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: gwyddionpy-0.0.18-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.18-py3-none-any.whl
Algorithm Hash digest
SHA256 a79e649ef15dac632cf7e5b8cf73143d39b39ab0925ac79b55463b9469e0b048
MD5 ba27607d484d0311c1cfcfdffa8c3e64
BLAKE2b-256 7a229013b2bcea743d319549c22e26eb182126bd1a9bb0fab7f0ac38412a62d2

See more details on using hashes here.

Provenance

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

0.0.19

2 files

This release

0.0.18 This release

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