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
    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.1.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.1.0
File Size Uploaded
plesty_fss-0.1.0.tar.gz 198.0 kB Details

Built distribution (wheel)

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

Total release size: 237.4 kB

Release files / plesty_fss-0.1.0.tar.gz

Download URL plesty_fss-0.1.0.tar.gz
Size 198.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c82ecc61958ca596c2079d1fa46c46cf0fbbfe9d12cca5112766a9b57e654227
BLAKE2b-256 checksum
How to use checksums
7684e83cdbc594e866ea7864839239ebc4698ba68bfb88b552afa3f8c729b592
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.1.0-py3-none-any.whl

Download URL plesty_fss-0.1.0-py3-none-any.whl
Size 39.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ad9834637affb851293ff2856c970b7f3bab4a23f74210fd2ef0a503cce8895
BLAKE2b-256 checksum
How to use checksums
1617955837652d23940a18af42ac3cda60d80508b54781fad54f77aa399a4315
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}
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