This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 0.2.8 instead.
Reason given by maintainers: Duplicate
Entroptics
The universe, in focus.
Read any 2-D signal as a finite optical aperture whose resolution is fixed by the signal's own entropy.
Entroptics (entropy + optics) treats a 2-D array W of shape (T, F), one ordered axis (time / evolution) and one feature axis (channels / frequency), as a finite optical aperture. The signal sets its own focus from the entropy of its power marginals. Every quantity Entroptics reports is then a standard optical / wave measurement (étendue, Strehl, OTF, diffraction limit, propagation constant), and the same reads apply to any structured 2-D field: a spectrogram, a waterfall, an embedding stack, a market panel, an image.
It is a small, standalone library, numpy only at the core (scipy and torch optional), built entirely from geometry and standard theorems. Parameter-free and domain-agnostic.
Statement of need
Selecting a rank is a prerequisite for a large class of analyses, and it is usually done with a threshold the analyst picks or a criterion that needs a known noise level. In practice a pipeline then carries a constant that was tuned on one instrument and is silently wrong on another.
Existing tools reflect this. scikit-learn's PCA offers a variance-explained fraction or Minka's MLE; optht implements the Gavish–Donoho optimal hard threshold, whose unknown-noise form estimates its scale from the median singular value; and the Wax–Kailath AIC and MDL criteria, standard in array processing, are derived for n snapshots of p variables with n > p and are undefined otherwise.
Entroptics is for people who need a rank, a resolution and a reconstruction from records whose instrument they do not control, or across many substrates at once — radio-astronomy waterfalls, spectrograms, sensor panels, embedding stacks — where a per-substrate constant is exactly what cannot be supplied. Its distinguishing property is that no constant in it is fitted to data or calibrated to a substrate: every fixed number is a derived mathematical quantity (a χ² median, an influence-function variance, a universal Tracy–Widom quantile) or a criterion stated in the documentation. What you supply is an operating point — a false-alarm level α, and the null it is taken against.
Two further needs it addresses are more specific. It handles the wide, short regime (F ≫ T) that a dedispersed burst cutout or a short multichannel record presents, where the finite-size Tracy–Widom edge holds the top eigenvalue but the asymptotic Marchenko–Pastur edge does not. And it treats a masked or never-measured cell as absent throughout, so every read divides by the extent actually observed rather than the array's nominal shape.
The intended audience is researchers and practitioners in signal processing, radio astronomy and applied statistics. For the DMD component specifically, PyDMD and PyKoopman are more complete DMD libraries and are the better choice if DMD is your problem; Entroptics differs in maintaining the operator as a fixed sufficient statistic whose read cost is independent of stream length, and in truncating at its own derived floor rather than a supplied tolerance.
Install
pip install entroptics # core (numpy only)
pip install "entroptics[torch]" # + GPU / torch tensors
pip install "entroptics[scipy]" # + exact MAD constant
Requires Python ≥ 3.10 and numpy ≥ 2.0. From a checkout, pip install -e ".[dev]" adds pytest,
scipy and torch; [figures] adds matplotlib and h5py, which research/figures/*.py needs and the
library core does not.
The apparatus
The optical chain: a beam passes through an aperture, a lens converts it, and a screen receives it as a projection.
A screen is viewed differently from each side, and Projection is that view made concrete — one signal on its own entropy-matched grid.
Aperture |
What bounds a beam, and the read of everything about it (read-only). The single front door: batch Aperture(W) or streaming Aperture(window=…).update(frame). Per-axis and screen-area reads, the mode spectrum, the diffraction limit, and a streaming dynamical operator for exact decay rates. Its size is the beam's étendue. |
Projection |
The screen as one side sees it — one signal on its own entropy-matched grid (read-only). Folds the signal onto its entropy-matched grid and reads its SVD factorization, coherence, and the modes above the noise floor. A denoised view is the extract filter — a projection onto those resolved modes. |
Lens |
A system's conversion: entry (surface → the screen's coordinates) and inverse (back out), plus that system's own laws — energy, zero, null. All domain code lives here. |
Screen |
Where beams land: the surface two or more systems share, and the crossing measurements between them. |
Beam |
What a side carries: energy, étendue, and the directions it occupies. A bundle of beams — each mode is itself a Beam, down to a leaf spanning one direction. |
ap.projection() and Projection(W).aperture() cross between the single-signal views.
Which to reach for
| you have | you want | use |
|---|---|---|
| one signal | its structure, resolution, decay rates, étendue | Aperture |
| one signal | its factorization, embedding, or a denoised view | Projection (or Aperture.extract) |
| two or more systems | them to meet, convert, couple, or trade energy | Screen |
| a surface to convert | it mapped onto a screen's coordinates and back | Lens |
A Screen earns its place only when the question is between signals. For one signal it adds a
lens registration and a placement for a reading Aperture or Projection gives directly.
The screen
N lenses carry N conversions and no pairwise table exists. Every screen read runs on the native, un-folded frame.
from entroptics import Screen
s = Screen() # far= sets the reader's level
s.register("A", entry=to_concept_a, inverse=from_concept_a) # a lens IS its conversion
s.register("B", entry=to_concept_b, inverse=from_concept_b,
energy=my_energy_law, zero=my_zero, null=my_floor) # ...and its own laws
concept = s.place("A", surface_a) # A.entry : signal -> concept
surface_b = s.render("B", concept) # B.inverse : concept -> B's signal
Reads between sides
s.couple("A", "B") # the MEASURED signed coupling (exact permutation null); 0 unresolved
s.coupling("A", "B") # the evidence behind it: z, sign, strength, phase, tightness
s.transfer("A", "B") # absorbed vs transmitted, the signed flux, and which concepts
# the energy condensed into
s.uncondensed("A", "B") # what did NOT condense, as a frame ready for another screen
Reads about one side
s.beam("A") # what it carries: energy, flow, etendue, modes, basis, profile
s.aperture("A") # the full optics of that side
s.directions("A") # the directions it resolves, against ITS OWN floor
s.energy("A") # its energy flow, by ITS OWN law
Certificates on a lens
s.certify("A", surface) # imaging: does inverse . entry return the surface?
s.lossless("A", surface) # the same as a bare relative residual
s.realise("A", "B") # what the crossing actually delivers vs the étendue bound
s.linear("A") # does the lens pass the beam's modes independently?
The screen as a whole
s.read() # the aperture measurement of the joint frame
s.basis() # the shared surface's coordinates
s.balance() # each side at its own zero, and whether that zero closes
s.resolution() # the settled state; None when nothing clears the floor
The sides need not share an ordered axis — bank transactions run on real time, language on information flow, and they still meet on the shared basis. Only the row-paired reads (couple, joint, read, resolution) need a common order, and they say so.
Who decides what. A lens declares its own noise (null) — a detector and a market count signal differently. The false-alarm level far is the reader's, by Neyman–Pearson. The caller owns the loop: these reads are pull, and the handoff in either direction is a plain (T, D) frame.
Quickstart
Batch
import numpy as np
from entroptics import Aperture
W = np.random.default_rng(0).standard_normal((256, 64))
ap = Aperture(W)
o = ap.optics() # the full intrinsic read, as a dict (33 fields)
ap.phi, ap.magnification # fill fraction and its reciprocal (scale duality)
ap.etendue, ap.space_bandwidth
ap.strehl # dominant-mode coherence
ap.T, ap.F # per-axis AxisRead(H, n, delta, phi, sigma)
ap.spectral # contrast, attenuation α, phase β, dispersion, resolved_power, dominance
ap.a_delta, ap.correlation_length, ap.mercer # diffraction limit + certificate
ap.scale_profile() # structure vs observation window (resolution vs aperture size)
The projection
sc = ap.projection()
sc.K_signal # SVD modes standing above the noise floor
sc.coherence # ordered-axis structure z-score (deterministic)
sc.footprints # per-mode (phi_T, phi_F) localization of each resolved mode
The filter
Pull the resolved signal out of the field — a projection onto its own screen modes.
clean, info = ap.extract() # the whole frame, since `Aperture(W)` reads all of it
info["K_signal"] # resolved modes above the floor
info["contrast"] # leading singular value over the floor (σ₁ / Φ)
info["n_kept"], info["n_dropped"] # transient modes kept, persistent (RFI) modes dropped
clean = U · diag(S̃) · Vᴴ uses the data's own screen modes U, Vᴴ and the Gavish–Donoho optimal singular-value shrinkage S̃ against the derived floor: idempotent, with the persistent narrowband (φ_F ≤ φ_T) modes dropped, and exact recovery where the signal stands well clear of the derived floor.
That last condition is worth stating plainly, because "noise-free" is not what governs it. The floor is estimated from the data, so a signal that fills the ordered axis contributes to its own floor estimate and is shrunk against it. Measured on an exactly rank-1 signal with no noise added, varying only its concentration in time:
σ_top / floor |
recovery error |
|---|---|
| 1.2e+07 | 5.4e-15 |
| 1972 | 1.8e-07 |
| 5.8 | 1.7e-02 |
| 2.6 | 4.4e-02 |
Recovery is exact once the top mode stands ~10³ above the floor, and the error peaks near the Gavish–Donoho threshold (σ_top/floor ≈ 2.5), where up to ~12% of amplitude is attenuated. A sparse burst reaches σ_top/floor ≈ 5.6e+04 and recovers to 2e-10; a sine filling the whole record reaches only 2.45 and loses 12%. Check Projection(W).sigma_top / Projection(W).noise_floor if exactness matters.
clean comes back in W's own units. The modes are read on the screen, and the screen is project(normalize(W)) — each channel's median removed and its robust scale divided out — so the projection lands on the whitened grid. That whitening is inverted before extract returns, and info["centre"] / info["scale"] report the map that did it. So clean plots against W, and:
removed = W - clean # exactly what the filter discarded: noise and the dropped modes
Two things follow, and both are the definition rather than caveats:
- The entropy fold is not inverted. It is what makes the screen the screen, its shape is in
info["screen_shape"], and undoing it would synthesise cells that were never resolved. cleanis the per-channel baseline plus the resolved modes. A channel's median is not a mode —normalizeremoves it before the SVD runs, so no cut was ever offered it. A persistent narrowband tone has its modulation dropped by theφ_F ≤ φ_Tcut while its DC level stays in the baseline. Wanting that gone too is baseline estimation, a different read.
Streaming, resume, splice
Feed frames from the first one and propagate; the exact-rate operator updates online.
ap = Aperture(window=512) # window bounds the optics snapshot
for frame in signal: # each frame an F-vector (numpy or torch)
ap.update(frame)
ap.rates() # long_range (slowest) & short_range (fastest) decay
ap.predict(frame) # one-step forecast A·x (A = ap.propagator_full())
s = ap.state() # export the full operator state …
ap2 = Aperture.from_state(s) # … and resume exactly (bit-for-bit)
whole = a.splice(b) # a, b: two Aperture streams → the concatenated-stream operator (exact at forgetting=1)
What it reads
All reads are intrinsic — derived from W alone — and each is tied to a standard theorem.
One screen, in focus
| reads | what it says | |
|---|---|---|
| Scale | ap.phi, ap.magnification = 1/phi |
the fill fraction and its reciprocal reach |
ap.H_T/H_F, n_T/n_F, delta_T/delta_F |
per-axis entropy, matched grid width, cell scale | |
| Aperture area | ap.etendue = phi_F · phi_T |
the bounded 2-D area the screen carries |
ap.space_bandwidth = n_F · n_T |
degrees of freedom it can carry — a capacity | |
| Coherence | ap.strehl, ap.phi_T/phi_F, ap.sigma_T/sigma_F |
dominant-mode power fraction, per-axis fills, leading singular values |
Projection.coherence |
closed-form z against the exact row-permutation null | |
| Concentration | ap.concentration |
intensity (σ₁²), focus (axial), resultant (directional) |
space_bandwidth is a capacity, not a content: an unfolded screen reports T·F whatever sits on
it. What the screen actually fills is ap.etendue * ap.space_bandwidth — 1 for a single mode on
an unfolded screen, rising with the modes present. The 1 is the large-T limit: measured on a
rank-1 signal it reads 1.020 at T = 256, 1.012 at 512 and 1.006 at 1024.
When the feature axis folds, the product reads F_eff / F of that, and the shortfall is
informative rather than an error. space_bandwidth is the unfolded capacity while etendue
is measured on the screen, so a fold dilutes the product by exactly its own ratio. Measured over
200 rank-1 draws with random channel weights: 187 did not fold and read 1.0197; the 13 that did
read 0.381, 0.509 and 0.637 at F_eff of 3, 4 and 5 — each exactly F_eff/F of 1.0197, recovering
1.017–1.020 when multiplied back. So a product well below 1 on a single-mode signal says the
screen folded, and ap.projection().F_eff says by how much.
The mode spectrum
ap.spectral reads the correlation spectrum against a derived noise floor:
contrast,top_share,resolved_modes,noise_floor,resolved_power(summed eigenvalue excess above the floor),dominance=(λ₁−1)/(F−1).- the propagation constant
γ = α + iβ— attenuationα, phaseβ— anddispersion. ap.attenuation_interval(band)returns a Weyl-certified interval forα.
The floor comes from a null= provider (entroptics.null_providers): the derived
Marchenko–Pastur / Johnstone default mp when null is unset, or the deterministic
data-derived Tukey fence via null=null_providers.robust.
The diffraction limit
ap.decay— the OTF, an FFT-free autocorrelation.ap.a_delta(entropy width1/2^{H(C²)}) andap.correlation_length(the decay length ξ).ap.mercer— a model-free temporal-vs-spectral cross-check.ap.rayleigh_shape_factor(g = xi * a_delta),ap.fresnel_number(window),ap.shape_factor(the Abbe factora_delta / phi_F).ap.decay_scatter— the decay is a sum over per-channel autocovariances, so the channels are replicates of it and their disagreement measures the read's own uncertainty. No null, nothing subtracted.noise_sharefar belowtail_sharemeans the correlation is structure the channels agree on; the two converging means the width is scatter, anda_deltaoverstates the correlation length. The cure is more channels.
How it moves, and at what scale
- Dynamics,
Aperture.rates(): exact per-mode decay ratesα_k = −log|μ_k|and frequenciesβ_k = arg(μ_k)from a streaming online-DMD / Koopman operator; splice-able and resumable.Aperture.dominant_decay_ratereads the slowest mode's rateα_1 = −log|μ_1|straight off that spectrum, isolating that one mode. A lag-window read returns a blend of all of them.Aperture.propagator_full()andpredict(x)expose and apply the full one-step operatorA = P_yx · P_xx⁺. - Multi-scale,
ap.scale_profile(): structure as a function of observation window —K_signal,coherence,a_delta,phi_Tper window, plusresolved_windowanddominant_window(in ordered-axis cells). - Sweep,
Aperture.sweep(): fix the aperture to a bounded capacity and sweep it where the coherence gate finds structure; noise-only patches are skipped. Returns per-bandspan, entropywidthand tail decaytau, in dimensionless window samples.
Recovering the signal
- Projection,
Projection(footprints,significance,read), andAperture.tensor()— a delay-embedded Tucker/HOSVD exposing within-window fine structure the averaged screen loses. - Filter,
Aperture.extract(): project the field onto its own resolved screen modes with Gavish–Donoho optimal shrinkage against the derived floor, dropping persistent narrowband (phi_F <= phi_T) interference. Returns(clean, info);cleanis a linear projection of the measured data — it synthesises nothing — andinfocarriesK_signal,contrast,coherenceand the kept/dropped modes.cleancomes back in the input's own units — the per-channel whitening the modes are read through is inverted before returning.
Other shapes of input
- N-D fields,
entroptics.fields:slabs(field, plane_axes)andover_planes(field, plane_axes, read=, reduce=)reduce a higher-D field to the 2-D screen while keeping each plane intact (what feature reads need, since they use within-plane correlation);pool(field, ordered_axis)flattens sites as samples, which is what ordered reads need. - A stack at once,
resolved_batch(X)forX: (B, T, F): the same resolved read over many frames, backend-optimal — numpy on the CPU (bit-identical to a per-frameProjection), a torch tensor on its device. Two cost tiers: the cheap survey gate (K_signal,sigma_top,noise_floor) always, the resolvedbasisand per-rowenergyon demand and only for frames that cleared the gate.ResolvedScreen/ResolvedScreenBatchare the stateful siblings for a screen you revisit (an LLM KV head across turns): append rows, refresh the basis lazily, resume fromstate().ResourceLimitsbounds threads, memory and GPU use; chunking is output-transparent. - Koopman lift,
entroptics.lift:delay_embed(W, d)builds Takens/Hankel coordinates(T,F) → (T-d+1, d·F), andkoopman_lift(W, d)fits the operator there — the path from a nonlinear or near-orthogonal trajectory to a linear one. An oscillator that resolves no modes raw resolves them after the lift.
Records that are not a 2-D field
- Spectral proximity,
entroptics.proximity: a magnitude-carrying, width-free digest of a frame's spectrum (mp_spectrum,spectral_distance,bulk_edge,effective_width) and a probe over a set of them (SpectrumProbe). - Symbol sequences,
entroptics.sequence: the ordered-axis reads on a symbol stream —entropy_rate,block_entropies,lempel_ziv_rate,redundancy_rate,effective_length,surrogate_test.
Real data: fast radio bursts
research/figures/frb_panel.py applies the plain library, with zero tuning, to the public CHIME/FRB Catalog 1 waterfalls at native 16384-channel resolution. It supplies only observer facts — dead channels are dropped, never zero-filled — and passes the surviving channels to the aperture front door. The catalog waterfalls arrive already dedispersed; Entroptics adds no dedispersion, no derotation, and no domain physics of its own.
from entroptics import Aperture
live = np.isfinite(W).all(axis=0) & (np.nanstd(W, axis=0) > 0) # observer fact: the RFI mask
clean, info = Aperture(W[:, live], window=None).extract() # everything downstream is the library
info["K_signal"], info["contrast"], info["coherence"]
extract is the Gavish-Donoho projection onto the resolved modes with the φ_F > φ_T persistent-structure cut: the noise sea is attenuated and persistent narrowband interference removed, with the burst morphology intact. The read comes back on the waterfall's own amplitude scale, so the "Removed" panel is a plain wf - clean with nothing rescaled by hand. The per-burst reads behind the figure are in research/figures/frb_panel.csv, and the method is §12.1 of the paper.
Why it's principled
Every read is a classical result specialised to finite, discrete data. The backbone: a signal's autocorrelation is its optical transfer function (Wiener–Khinchin → Fourier optics), so the diffraction limit is one over that OTF's bandwidth (Abbe/Rayleigh). The full derivation, and the Lean-checked lemmas, are in the paper.
Backends & determinism
- One code path, numpy or torch. Feed a numpy array → runs on CPU; feed a torch tensor → runs on its device (GPU), staying on-device; torch is imported lazily only when a tensor appears.
- Deterministic. The coherence is a closed-form permutation-null z-score, so results are reproducible and bit-identical across numpy and torch (to floating-point round-off).
- Complex-safe end to end. Reads take the record as given and infer nothing from it — whether you hold a field or an intensity is a fact about your instrument, not about the sign of your samples. For the incoherent read of an amplitude record, pass the intensity (
decay(W ** 2)).Aperture.sweep()finds and reads its bands on a field like any other record —span,coherence,contrast,K,noise_floor,phi_T/F— and the span takes you back to the original vectors, complex intact. Itspeak,widthandtau_decaycome off a per-sample brightness, which a field does not carry, so those three return-1/NaN; passabs(W)orabs(W)**2when you want them.
Axis convention
Every input W has shape (T, F):
- axis-0 (rows,
_T) is the ordered / evolution axis, "time" is a role, not literal physics; - axis-1 (cols,
_F) is the feature / channel axis, "frequency" is likewise a role.
Any 2-D array with one ordered axis works.
Absent data
Mark what was never observed — either as NaN in W, or with a boolean mask where True means
not observed. The two say the same thing, and a mask works over a value that is finite and wrong
(a saturated sample, an RFI-flagged channel that still holds a reading):
ap = Aperture(W, mask=flags) # flags[t, f] True -> that cell was not observed
Every read then divides by the measured extent — the rows and columns that carry at least one observation — not by the array's shape. A read taken through a mask equals the same frame with those channels deleted, to floating point.
Absence is not an observation of zero. Substituting 0 for an unobserved channel is a different
frame: zero is a real reading of no power, it belongs in the extent, and it widens the axis the
signal is scored against. Mark it absent and the reads are unmoved; fill it with zeros and they move, correctly.
Per-channel structure
Multiplying the whole record by a constant changes nothing. Every dimensionless read — a
z-score, a share, a mode count, a correlation, a focus — is identical from 1e+30 down to
1e-140, and every dimensioned one scales exactly as its own dimension (a noise floor as
c, a variance as c²). A constant baseline changes nothing either; the reads are taken on the
centred block.
That is a property test rather than a claim: src/tests/test_scale_invariance.py
sweeps both halves, and carries a control that each read still separates structure from noise —
a read that returned a constant would be trivially scale-free and useless, so invariance alone
is not enough to pass.
Per-channel structure is different. A channel with ten times another channel's gain is, to the
instrument, a channel carrying ten times the power — there is nothing in the data that says whether
that is the sky or the amplifier. So the reads describe it, because it is part of the frame they
were handed. phi_F is the exception: the feature-axis correlation has unit diagonal, so it
rescales every channel by construction.
If per-channel gain or baseline is instrumental, remove it before you read:
from entroptics.entropy import normalize
ap = Aperture(normalize(W)) # per-channel median removed, robust scale equalised
Tests
pip install -e ".[dev]"
pytest
The suite (src/tests/) pins the full optics read as a golden contract, checks numpy↔torch parity, the mathematical invariants (étendue = φ_F·φ_T, exact decay-rate recovery, PSD autocovariance, axial-vs-directional concentration, the read-side filter's exact projection and idempotence), round-trips (tensor reconstruct, factor pack/unpack), determinism, and degenerate-input robustness.
Four files pin the claims this README makes about how the reads behave, each with a control that makes it able to fail:
| file | what it holds |
|---|---|
test_scale_invariance.py |
dimensionless reads identical across 1e+30–1e-140; dimensioned ones exact to c^dim; and every read must still separate structure from noise, so invariance alone cannot pass |
test_fold_band_calibration.py |
fold_band's stated false-fold rate on pure noise, and the power that must survive it — the significance and sufficiency terms are separated, because calibration alone cannot test the second |
test_coupling_reduces_to_pearson.py |
at one shared coordinate coupling.strength is Pearson's r and z is r√(T−1); what the read adds there is the decision layer, and that is asserted too |
test_resolved_modes_is_not_a_rank.py |
resolved_modes counts modes above a noise floor — it is not a matrix rank and not a model-order selector; pinned so nothing is built on it expecting one |
Formal certification
The governing lemmas of the theory (research/PAPER.pdf) are machine-checked in Lean 4 / Mathlib (research/lean/, 44 theorems): the fill-fraction and Strehl bounds, positive-semidefiniteness of the biased autocovariance (peak-at-zero-lag OTF), the exact permutation-null mean of the coherence, the Weyl-certified attenuation interval, axial≠directional concentration, and exact decay-rate recovery + additive splicing. lake build compiles with no sorry, resting only on Mathlib's standard axioms.
Documentation
- API reference — every public name, with its signature and what it does. Generated from the library itself by
python docs/generate_api.py, so it cannot drift from the code. research/PAPER.pdf— the paper: definitions, proofs, and the provenance of every constant (§11.1). Typeset, with the mathematics rendered. Same text in Markdown:research/PAPER.md.research/validation/RESULTS.md— what each read recovers against a planted ground truth.research/supplemental/— the applications and statistics papers, each with areproduce.pyand averify.py.
Getting help
- Questions and bug reports: open an issue at github.com/Agience/entroptics/issues. A report is most useful with the array shape, the backend (numpy or torch), and the read you called.
- Security issues: email connect@agience.ai rather than opening a public issue.
- Contributions: see CONTRIBUTING.md.
- Conduct: participation is governed by the Code of Conduct.
What runs without a download
The library, its test suite and the full validation suite need no external data — every input is generated from a fixed seed:
pytest # 675 tests
python research/validation/run_all.py # 19 experiments -> RESULTS.md
Two figure routines are the exception. research/figures/frb_panel.py and frb_spotcheck.py read the CHIME/FRB Catalog 1 waterfalls, a separate public download from the CANFAR archive (CISTI.CANFAR/21.0007) that is not part of this repository and is far too large to ship. They refuse, with instructions, if it is not configured — see research/supplemental/frb/README.md for the fetch and the one line of configuration. Everything else in the repository runs from a clean checkout.
Contributing
Bug reports, validation experiments, backend-parity fixes, and new reads (with their theorems) are welcome — see CONTRIBUTING.md. The short version: the library is parameter-free, deterministic, and numpy-only at the core, and contributions must keep it that way — every constant needs a provenance, every claim needs a theorem, and the golden-contract tests must stay bit-identical across backends.
Star history
Security issues: email connect@agience.ai rather than opening a public issue.
Licensed under Apache-2.0 — see LICENSE.md,
NOTICE, PATENTS.md
and PLEDGE.md.
Declaration of generative AI use
The author used Anthropic's Claude Opus (versions 4.8 and 5) in the preparation of this work. Its contribution was to write code, and to generate and validate content. The ideas, the construction and the claims are the author's. No other generative AI tool was used. The author reviewed and edited all output and takes full responsibility for the content of this publication.
Metadata
Release files for entroptics 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| entroptics-0.2.4.tar.gz | 234.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| entroptics-0.2.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 453.5 kB
Release files / entroptics-0.2.4.tar.gz
| Download URL | entroptics-0.2.4.tar.gz |
|---|---|
| Size | 234.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2480e7ae8ff942a65abda6d6a8de4e432c2f95c5c275808f93c9452d0a7eb298
|
|
BLAKE2b-256 checksum How to use checksums |
d535031bd8200adce0060248f67a41394de6737dd9614df7a9c6b125d2606ffb
|
| 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 Sep 17, 2026.
Transparency logRelease files / entroptics-0.2.4-py3-none-any.whl
| Download URL | entroptics-0.2.4-py3-none-any.whl |
|---|---|
| Size | 219.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e731377796475b2b437d447497576bba4ea78424b9c564e8a97596e546023ce6
|
|
BLAKE2b-256 checksum How to use checksums |
3dcd4b22ec9e246a46497dc8302361dc00fb94c947ebd5c4b8b5bccc30527a5b
|
| 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 Sep 17, 2026.
Transparency log