Skip to main content

##################### STSPY #########################

Version = 1.0.3

Scanning Tunneling Spectra Python Analysis

Establishes a python class called spectra object with relevant parameters automatically tabulated (and optionally an STM object described below)

In addition, adds a specgrid object which contains similar attributes

To load a spectra from a VERT file, just do: spec = stspy.load_VERT_file(filename) To load a specgrid file, do: specgrid = stspy.load_specgrid_file(filename) #filename is the .specgridfile, dat file is required to be in the same place as the .specgridfile, but isn’t included in the arugment

Spectra (and specgrid) objects have a variety of attributes.

Automatically pulls parameters of particular importance including: ZPiezoconst LockinAmpl

Once called, spectra object contains has the following properties: V: sample voltage (volts) z: (Angstroms) I: current (amps) dIdV: differential conductance (mV)

Methods available: average(hyst_cor = True): if there are multiple passes, averages the spectra back and forth. hyst_cor (default True) applies a correction accounting for differences upon sweeping normalize(kappa): if using a z-ramp, this is useful. Multiplies the current and conductance by exp(-2*kappa*z) where kappa is a provided number (or array same length as z) to be determined by measurement

Another python class is created called STM which has the following properties and default values: DAC_Voltage_Range = 20000.0: Voltage range of the DAC in mV (i.e. 10V - (-10V) = 20V = 20000mV) LockinRC_facotr = 7960.0: Mutliplicative factor to get LockinRC param in Hz

Adjust values of this object to account for different STM or versions of stmafm software

Version log: 0.1.0 - Implemented specgrid reader and changed VERT file load syntax 0.1.1 - Small correction for when hyst factor was odd 0.1.2 - Small correction when loading voltage from specgrid file 0.1.3 - Introduced compatability with STMAFM 4.0 Beta version where repeated spectra are labeled as .BAK files 0.1.4 - Added x, y, Length_x, and Length_y properties of spectra, to be used for line spectra profile cuts 1.0.0 - Updated load file speed and upgraded for Python 3 compatibility 1.0.2 - Updated to fix small bug and included a feature to allow d2IdV2 to be read from files 1.0.3 - Updated to fix small bug when averaging d2IdV2

Metadata

Release files for stspy 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stspy 1.0.3
File Size Uploaded Provenance Actions
stspy-1.0.3.tar.gz 8.6 kB Without provenance Details for stspy-1.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for stspy 1.0.3
File Interpreter ABI Platform Actions
stspy-1.0.3-py3-none-any.whl Python 3 none any Details for stspy-1.0.3-py3-none-any.whl

Total release size: 29.7 kB

Release files / stspy-1.0.3.tar.gz

Download URL stspy-1.0.3.tar.gz
Size 8.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1457edc8acec7e5cf47930bebeb5b0c23f2d5225939bfc266fa124ebb72b4457
BLAKE2b-256 checksum
How to use checksums
5117abcc6b4192b5b515089da219086be223a00f7197cb420f5179a0bd93b67c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

Release files / stspy-1.0.3-py3-none-any.whl

Download URL stspy-1.0.3-py3-none-any.whl
Size 21.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8310db5bc931fa46bdc4ae4e7ed44e0eb438450ca93da426a48a3d862c02306c
BLAKE2b-256 checksum
How to use checksums
2ee9f9764ce95ec96906454fe9f45b7c7c4a7c5f0ca36576a2b222bbc9c8d8e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

Security for stspy 1.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page