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")

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plesty_fss-0.1.0.dev2.tar.gz (187.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plesty_fss-0.1.0.dev2-py3-none-any.whl (32.5 kB view details)

Uploaded Python 3

File details

Details for the file plesty_fss-0.1.0.dev2.tar.gz.

File metadata

  • Download URL: plesty_fss-0.1.0.dev2.tar.gz
  • Upload date:
  • Size: 187.6 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for plesty_fss-0.1.0.dev2.tar.gz
Algorithm Hash digest
SHA256 2189fb9bb6816c69b191a808ee7dac80d1c8065965a817a00f932444ed3f221b
MD5 ff40318cc6165196a0536478d5caebfc
BLAKE2b-256 61bd5c0ca338141beecae2e315434623141e88d1132ae276732b2d9d3576d3b4

See more details on using hashes here.

File details

Details for the file plesty_fss-0.1.0.dev2-py3-none-any.whl.

File metadata

  • Download URL: plesty_fss-0.1.0.dev2-py3-none-any.whl
  • Upload date:
  • Size: 32.5 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for plesty_fss-0.1.0.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 c6ce50dad5b4aa25e6eb108e2673483bb7ff8c80d4d63087f94dbb4a6209a257
MD5 ddc256729bf36134f9c6de851b7a3998
BLAKE2b-256 b96b303c6b5d622a8345f7bfec642c3b740b3f3d02369d333b2e499dc286b4a9

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0.dev2 This release

2 files

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