Skip to main content

Plesty Fine-Structure Analyzer

A PLESTY analyzer for the exciton fine-structure splitting (FSS) of every line in a polarization-resolved PL sweep.

Installation

uv add plesty-fss

or, from source:

git clone https://gitlab.com/plesty/hub/analyzers/plesty-fss.git
cd plesty-fss
uv sync

Running the analyzer

from plesty.lib.data import SpectrumData
from plesty.fss import FineStructure

spectrum = SpectrumData.from_run(run, coordinates=("hwp_deg",))
outputs = FineStructure(
    angle="hwp_deg",
    rotator="hwp",  # "polarizer" for a rotating polarizer, "qwp" for a quarter-wave plate
    fit_options={"peaks": [775.0], "window": 0.3},
)(spectrum=spectrum)

result = outputs["fine_structure"]
result["fss"], result["fss_err"]  # µeV, one per line
result["fss_wavelength"]  # the same splitting in the wavelength unit

fit_options are passed to plesty.lib.analyzer.SpectrumFit. See the documentation for the outputs and the model.

To plot the result — each line's energy shift against the angle with the fit and its residuals — install the plot extra (uv add "plesty-fss[plot]"):

from plesty.fss.plot import plot_fine_structure

plot_fine_structure(outputs["fine_structure"], outputs["fit"]).savefig("fine_structure.png")

Metadata

Release files for plesty-fss 0.2.0

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

Source distribution (sdist)

Source distribution for plesty-fss 0.2.0
File Size Uploaded Provenance Actions
plesty_fss-0.2.0.tar.gz 203.4 kB Without provenance Details for plesty_fss-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for plesty-fss 0.2.0
File Interpreter ABI Platform Actions
plesty_fss-0.2.0-py3-none-any.whl Python 3 none any Details for plesty_fss-0.2.0-py3-none-any.whl

Total release size: 243.7 kB

Release files / plesty_fss-0.2.0.tar.gz

Download URL plesty_fss-0.2.0.tar.gz
Size 203.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6800b03c7c5c506b49b786f94e122982f06fb5a006592a4cb5475af6d7e2038a
BLAKE2b-256 checksum
How to use checksums
4697bf4965e821d9c20b7110bbee78513f8ed75826e7b5bd647ae1ff458f7cb2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / plesty_fss-0.2.0-py3-none-any.whl

Download URL plesty_fss-0.2.0-py3-none-any.whl
Size 40.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
56c08aa50b005467b158531c72504ca348a346cb2a0218e411e2388779a8dafa
BLAKE2b-256 checksum
How to use checksums
44c1cf5e083f9feacc9300f65dc48c2fcd3fbf6017c086f5d33d3c94c81b09d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for plesty-fss 0.2.0

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