spec2epsilon - Estimate dielectric constants from fluorescence spectra
Cite as
How to install it?
pip install spec2epsilon
How to use it?
Once installed, use the command:
spec2epsilon
The application will open in your browser.
Input files
The application requires a .csv file in the format shown below:
Solvent,epsilon,nr,Molecule_name
CyH,2.0165,1.4262,440
Tol,2.3800,1.4969,463
Diox,2.2099,1.4224,485
EtOAc,6.2530,1.3724,539
THF,7.5800,1.4072,543
CHCl3,4.8100,1.4458,552
Ace,20.700,1.3586,597
DMF,37.219,1.4305,617
PS,,1.5500,465
PMMA,,1.5500,535
Zeonex,,1.5500,449
CBP,,1.5500,504
The solvent column identifies the solvents and materials where fluorescence has been measured.
The epsilon column contains the static dielectric constant for known solvents.
Rows that include epsilon values are used for the characterization of the molecule (calculation of $E_{vac}$ and $\chi$).
Rows where epsilon is missing are interpreted as materials for which the inference procedure will be applied.
The nr column contains the refractive index of each sample.
The Molecule_name column contains the peak of fluorescence spectra as measured in the different solvents/environments. Values may be provided in eV or nm. The column name should identify the molecule. It is also possible to include more than one Molecule_name column in the same file, allowing characterization or inference for multiple molecules in parallel.
Examples of input files can be found in here here. These files can be uploaded to the application.
Characterization and Inference
Once the csv files are uploaded, the application will fit the characterization data and show the computed values for the vacuum emission energy, the solvatochromic susceptibility and the $R^2$ of the fit. The list of selected solvents is shown on the top.
Further below, inferred $\epsilon$ values for data points with no declared $\epsilon$ are shown along with their uncertainty interval. In the data tab, input data can be edited as well.
Tutorial
The csv file can be uploaded to the application. Alternatively, one may use the api. A tutorial is provided here.
Metadata
Release files for spec2epsilon 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| spec2epsilon-1.1.0.tar.gz | 18.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| spec2epsilon-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.9 kB
Release files / spec2epsilon-1.1.0.tar.gz
| Download URL | spec2epsilon-1.1.0.tar.gz |
|---|---|
| Size | 18.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
45e614c13dfb642828299f3fa2fe1528dcc08e2523767b05b08b27097641306a
|
|
BLAKE2b-256 checksum How to use checksums |
65bf79e84a27d066a09c710a40713529edfb7325fd3c98171ef5b34cf2ad699b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 10, 2026.
Transparency logRelease files / spec2epsilon-1.1.0-py3-none-any.whl
| Download URL | spec2epsilon-1.1.0-py3-none-any.whl |
|---|---|
| Size | 18.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
552b6dbff63414608201ba79e70c21097e2bb2889c7871ee1245853a3afad6f3
|
|
BLAKE2b-256 checksum How to use checksums |
7fe1d2484f24ab502dc4386c0fabeb9ebffd7600e5a0621b964662efa4970d8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 10, 2026.
Transparency log