Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.dev3

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

Built distribution (wheel)

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

Total release size: 237.5 kB

Release files / plesty_fss-0.1.0.dev3.tar.gz

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

Download URL plesty_fss-0.1.0.dev3-py3-none-any.whl
Size 39.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7cf41d8d0a73e8727bae5e2ceaf59e5b787688d4e3e42f60d7f7dc74df29fabb
BLAKE2b-256 checksum
How to use checksums
9d2a2ae9542d5e7f47712d0e6da255ed3e314910ae5c972435f86a5df93352d1
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