hcd_priya: A High-Column-Density Absorber Emulator for Lyman-α Forest Cosmology
This repository holds the code of an emulator of the one-dimensional flux power spectrum (P1D) of the Lyman-α (Lyα) forest that models the high-column-density (HCD) absorbers contaminating it, together with the research pipeline it was built for: measuring two cosmological parameters, the forest power amplitude A_p and the tilt n_s, from the P1D. The supported interface of this release is the predictor of the per-class P1D and a Gaussian data likelihood with a mock-recovery example; the measurement itself is research code that is not part of the release (see Scope and limitations of this release). It is built on the PRIYA suite of cosmological hydrodynamic simulations.
Install
hcd-priya installs the Python package hcd_analysis and the command hcd. It requires hcd-priya-models, a
data package that holds the trained model; pip installs it by itself. It needs Python 3.11 or later on Linux (x86-64).
python3.11 -m venv .venv && source .venv/bin/activate
pip install hcd-priya
python -c "import hcd_analysis; print(hcd_analysis.__version__)"
hcd --help
This installs the code and the trained LF+MF model together (the model package is about 40 MB; nothing is
downloaded later). The first example of the README then runs as written, with no switch and no warning, and
python -I -m hcd_analysis.check_release --published checks the installed model file by file.
- The supported install pins every dependency to the versions the test suite is developed and run with
(
tools/ci/constraints-devenv.txt), on CPython 3.11: take that file from this repository at the release tag and add-c constraints-devenv.txtto the pip command. - From a clone, for development and tests.
CONTRIBUTING.mdgives the commands. They do not use the trained model: continuous integration and the tests build a stand-in model package, a synthetic bundle of untrained networks whose numbers are not science (tools/ci/install_with_synthetic_models.sh). - The switch of the stand-in.
load_publishedrefuses the stand-in unlessHCD_PRIYA_ALLOW_SYNTHETIC=1is set, so that untrained networks are never taken for a model. With it, the first example of the README runs and prints the shapes and flags of the stand-in, which differ from those of the trained model. - With a model wheel in hand. A model wheel built in this repository from a release's files
(
model_package/) installs as a file, which is never looked up on an index:pip install . path/to/hcd_priya_models-VERSION-py3-none-any.whl.
Notes.
- Newer dependency versions and Python 3.12 are tested in the nightly continuous integration but not supported yet; macOS and
Windows are not tested.
docs/compatibility.mdlists what is tested and what is not. - Extras:
test(pytest),tutorials(jupyter, nbformat) anddev.pyproject.tomldeclares the dependencies;requirements.txtonly points to the install above. - Working in a clone. To run the scripts or the pipeline from the clone, make the install editable:
pip install --no-deps -e .after either install above. The pipeline records the clone's commit, and only an editable install makes that commit the code that runs (with your changes committed); a plain install runs the copy made when it was installed. The scripts underscripts/are not part of the installed package; run them from the repository root. - JAX on the CPU, in double precision. Importing
hcd_analysis.emulatorenables float64, which several structural identities of the model need: they hold only to bit-level accuracy and break under JAX's default float32. Run scripts withJAX_PLATFORMS=cpu python <your_script.py>. - The simulation side (building absorber catalogs and P1D from raw spectra) also needs
fake_spectra, installed separately (docs/fake_spectra_integration.md); the predictor does not. On the Great Lakes cluster,bash scripts/install_greatlakes.shcreates a conda environment with both.
Quickstart
Load the LF+MF model and predict the P1D of each class of sightlines at one redshift. The nine parameters of the model are written out, so that you see which point the prediction is for:
import hcd_analysis.predictor as hp
emu = hp.load_published() # the LF+MF model, from the installed model package
# The nine PRIYA parameters, by name. These values are the midpoint of the range each parameter
# was trained on: a point to try the model at. It is not a fiducial cosmology, not a best fit
# and not a simulation. Put your own values here.
params = {
"ns": 0.925, # slope of the primordial power spectrum at k = 0.78 / Mpc
"Ap": 1.9e-9, # its amplitude at the same wavenumber
"herei": 4.0, # redshift at which helium reionization starts
"heref": 2.7, # redshift at which helium reionization ends
"alphaq": 2.15, # quasar spectral index, which sets the heating of helium reionization
"hub": 0.70, # dimensionless Hubble parameter h
"omegamh2": 0.143, # Omega_m h^2
"hireionz": 7.25, # redshift of hydrogen reionization
"bhfeedback": 0.05, # black-hole feedback strength
}
# z is a PRIYA snapshot redshift. The mean flux is PRIYA's model at its centre:
# tau0_amp = 1 and dtau0 = 0 give the fit of Kim et al. (2007).
pred = emu.predict(params, z=3.0, tau0_amp=1.0, dtau0=0.0)
print("model:", pred.labels["product"])
print("classes, in the order of P_class:", hp.CLASSES)
print("shape of pred.P_class, the P1D in km/s of each class:", pred.P_class.shape)
print("shape of pred.k, the wavenumbers in s/km:", pred.k.shape)
print("flags that are set (read them before you use the numbers):", sorted(n for n, v in pred.flags.items() if v is True))
With the trained LF+MF model, which pip install hcd-priya brings, this prints (the model has 172 wavenumbers; no
spectrum value is shown here). The stand-in model of the tests has another number of wavenumbers, carries no incidence record and no P1D
held-out record (so none of the three flags of those records), and its predictions carry the flag
synthetic_build:
model: LF+MF
classes, in the order of P_class: ('clean', 'LLS', 'subDLA', 'DLA')
shape of pred.P_class, the P1D in km/s of each class: (4, 172)
shape of pred.k, the wavenumbers in s/km: (172,)
flags that are set (read them before you use the numbers): ['incidence_heldout_error_available', 'incidence_mf_applied', 'k_downweighted', 'mf_applied', 'p1d_validation_available']
The five flags say that the multi-fidelity correction was applied to the class spectra (mf_applied) and to the
incidence (incidence_mf_applied), that the release carries the held-out error of the incidence
(incidence_heldout_error_available), that every class spectrum has a held-out prediction residual beside it
(p1d_validation_available: pred.P_class_validation_rms_log, an empirical validation diagnostic, not a
calibrated predictive uncertainty; pred.labels["p1d_validation"] says what it is), and that some of the model's
own wavenumbers lie below 1e-3 s/km, where training gave less weight (k_downweighted).
-
What "LF+MF" is. The emulator trained on the low-fidelity (low-resolution) PRIYA simulations, with the multi-fidelity correction that calibrates its class spectra to the high-resolution simulations (
docs/models_and_data.md; which validation summaries are public is listed under "Status" below). It is the model this package publishes, andhp.load_published()loads it without a name. -
Where the model comes from. The trained model is in a companion package,
hcd-priya-models, whichhcd-priyarequires and pip installs with it. Nothing is downloaded when you load it; Models and data says whatload_publishedchecks. The same model is also published as files, on the GitHub release of this version; with a release's files in hand, it loads from its directory and the sha256 published with it:emu = hp.load_release("path/to/release", "<published release sha256>")
What goes in and what comes out:
- Parameters.
paramsis a dict of the nine PRIYA parameters by name (hp.PARAM_NAMES), as above. A value outside the range the model was trained on (hp.PARAM_LIMITS) is predicted and flagged, not refused. - Redshift.
zis one of the PRIYA snapshot redshifts 2.0, 2.2, ..., 5.4;emu.predict_manytakes several. - Mean flux. Give either
tau0_ampanddtau0(PRIYA's model), ortau_efffrom any other mean-flux model (help(hp.tau_eff_priya)shows how, with a published fit as the example). A mean flux outside the range the model was trained on is predicted with a warning and a flag. The warning checks the range only. Atau_effof your own must be that of the PRIYA-filtered forest, the quantity the model was trained on: a measurement made with another treatment of metals or of DLAs is another quantity, and nothing in the package can tell. - Result.
pred.k,pred.P_class(clean, LLS, subDLA, DLA),pred.w_candpred.dndx(the model's sightline fractions and incidence of the three HCD classes).hp.add_hcd(pred, pred.w_c)mixes the class spectra with those fractions. That mixture is not the full P1D of a sightline sample. Under LF+MF the class spectra carry the multi-fidelity correction, whilepred.dndxandpred.w_care those of the low-fidelity model unless the release carries an incidence record (then they are corrected too, flagincidence_mf_applied); and the mixture leaves out two contributions that the filter removed, the power of the subDLA cores and the DLA damping-wing core (pred.labels["omissions"]). - Conventions.
pred.kis the angular wavenumber, 2 pi divided by the wavelength in velocity, in s/km.pred.P_classis the power spectrum ofF / mean(F) - 1, withmean(F)the mean flux of the whole sample, in km/s (docs/p1d_definition.md; that page writes k in the other common convention, one over the wavelength). A spectrum in that other convention has a k smaller by a factor of 2 pi and the same P at the corresponding k: only k is converted, never P. Wavenumbers given to the likelihood must be in s/km too: a data set in h/Mpc with a bin at or above about 0.1 is refused, but one whose bins all lie below that may pass undetected (docs/likelihood.md). - Read
pred.flagsbefore using the numbers: a parameter outside the training box, or an LF+MF prediction above z 4.6, is returned and flagged, not refused.
Without any model file, the same calls run on a synthetic bundle (untrained networks, so it shows the interface and
behaviour, not science): hcd_analysis.emulator.release_testing.write_synthetic_bundle writes one that
hp.load_bundle loads, and the tutorial
docs/tutorials/production_and_research_bundles.md walks
through production and research bundles on synthetic data. Every function named above has a docstring with an
example that a test runs (for instance help(hp.Prediction)).
What this is
The Lyα forest is the series of absorption lines seen blueward of a distant quasar's Lyα emission, each produced by intergalactic hydrogen along the line of sight. The statistics of that absorption, and in particular its one-dimensional power spectrum P1D(k), trace the small-scale clustering of matter, which in turn constrains the primordial power spectrum (A_p, n_s) together with the nature of dark matter and neutrinos.
A fraction of sightlines, however, intersect dense gas systems. These are the
Lyman-limit systems (LLS), the sub-damped and damped Lyα absorbers (subDLA and
DLA), known collectively as HCDs. They imprint broad damped wings on the
spectrum and bias the measured P1D if they are not modelled. We split the three
classes by neutral-hydrogen column density N_HI (hcd_analysis/catalog.py):
LLS at 10^17.2–10^19, subDLA at 10^19–10^20.3, and DLA at N_HI ≥ 10^20.3 cm⁻².
The pipeline measures P1D from the PRIYA simulations and trains a fast
differentiable emulator that carries an explicit free-amplitude model of the HCD
contamination. The research code then feeds that emulator into a gradient-based
likelihood, with the aim of inferring (A_p, n_s) while marginalising over the HCD
incidence; that last step is not part of this release. Treating
the HCDs correctly is what allows a forest P1D analysis to remain unbiased at the
sub-percent precision that DESI now delivers.
PRIYA: Bird, Fernandez, Ho et al. 2023, JCAP 10 037 (arXiv:2306.05471); extended box from Fernandez, Bird & Ho 2024, JCAP 07 029 (arXiv:2309.03943).
hcd_priya is the continuation of the analysis of Ho et al. 2026,
"Small-scale Lyman alpha forest cosmology with PRIYA: constraints from XQ100 and KODIAQ-SQUAD one-dimensional flux
power spectra", JCAP 2026 (07) 094
(doi:10.1088/1475-7516/2026/07/094,
arXiv:2509.18271). How to cite the software: CITATION.cff.
How the HCD catalogues are built
The emulator is trained on absorber catalogues, made by running the HCD finder of this repository on the
fake_spectra sightline files of the PRIYA snapshots. Those files are not distributed, and none of this is needed
to use the predictor.
from hcd_analysis.catalog import build_catalog
from hcd_analysis.io import pixel_dv_kms, read_header
# One fake_spectra file: the Lyman-alpha optical depth of every sightline of one snapshot.
spectra = "SIMULATION/output/SPECTRA_017/lya_forest_spectra_grid_480.hdf5"
header = read_header(spectra)
catalog = build_catalog(
spectra, sim_name="SIMULATION", snap=17, z=header.redshift, dv_kms=pixel_dv_kms(header),
# the production settings, as in config/default.yaml under "absorber:"
tau_threshold=100.0, # a system is a run of pixels with tau above this
merge_dv_kms=100.0, # runs closer than this, in km/s, are one system
min_pixels=2, # a system has at least this many pixels
fast_mode=True, # N_HI from the integral of tau over the system; False fits a Voigt profile
min_log_nhi=17.2, # a system below the LLS edge is forest and is dropped
)
print("systems found, by class:", catalog.summary())
catalog.save_npz("catalog.npz")
On a made-up file of four sightlines, two of which hold one system each (the real files are not distributed), this prints:
systems found, by class: {'LLS': 2, 'subDLA': 0, 'DLA': 0, 'forest': 0}
The command line runs the same finder with the settings of the config file, and also writes the P1D of each class of sightlines and the CDDF:
hcd run-one --sim SIMULATION --snap 17 --config config/default.yaml # one snapshot
hcd run-sim --sim SIMULATION --config config/default.yaml # every snapshot of one simulation
How the finder works, its settings, its products and the checks of a catalogue are in
docs/pipeline.md.
Figures
Drawn by the scripts in scripts/figures/; the data files are in
docs/figures/data/. The class-ratio figure regenerates from the repository alone. The dN/dX
and CDDF figures need a model with an incidence record; their measured points and the 60
design points of their bands are in the repository. The model figures are drawn from the model release of this
version. The full captions and what each figure does not test:
docs/model_figures.md. That page also shows the model's held-out prediction residual of
the class P1D against wavenumber and redshift, and per held-out simulation
(scripts/figures/fig_p1d_validation.py): empirical validation diagnostics, not calibrated predictive
uncertainties.
The incidence dN/dX against redshift. Lines: the LF+MF model (pred.dndx) for DLAs, subDLAs and LLS, bins of
column density (10^20.3 cm^-2 and above, 10^19 to 10^20.3, 10^17.2 to 10^19), at the midpoint of each parameter's
training range (the nine values are written in the script; nothing is fitted), at the snapshots from z = 2.2 to 4.6,
the range that the grouped validation of the model's P1D correction covers (the correction of the incidence drawn
here is not validated at any redshift). Dashed line: the model's count of every absorber with N_HI >= 10^17.5 cm^-2,
the quantity the LLS points measure. Bands: the lowest and the highest value over the 60 design points of the
training simulations; they are not an uncertainty. Points: the DLAs of Ho, Bird and Garnett (2021,
arXiv:2103.10964) with 68 per cent intervals, from the tables of the DLA data
collection sbird/DLA_data (provenance);
and the incidence of Lyman limit systems (tau_912 >= 2) of five published samples: Prochaska, O'Meara and Worseck
(2010), O'Meara et al. (2013) with Ribaudo, Lehner and Howk (2011), Fumagalli et al. (2013), Crighton et al. (2019)
and Fumagalli, Fotopoulou and Thomson (2020) (provenance). Read the
LLS points against the dashed line, not against the LLS line: they count every absorber above 10^17.5, subDLAs and
DLAs included. At z = 3.45 the points of Prochaska et al. and of Fumagalli et al. (2020) overlap; the two samples
share quasars. Every point is drawn per unit X in the cosmology of the model line; the bands are not converted.
Bars on the lines: the model's held-out range, from dN/dX times exp(-e) to dN/dX times exp(+e), with e the rms over
five held-out simulations of ln(prediction / truth); each bound is computed on its own, so the bars are asymmetric.
They are an indication of size, not a standard deviation. Full caption.
The column-density distribution f(N_HI). Line: the LF+MF model (pred.cddf) at the midpoint of each
parameter's training range (the nine values are written in the script; nothing is fitted), at the snapshots z = 2.2,
2.8 and 3.4. Band: the lowest and the highest value over the 60 design points of the training simulations; it is
not an uncertainty. Points: the DLAs of Ho, Bird and Garnett (2021,
arXiv:2103.10964) in three redshift bins, with 68 per cent intervals (bins
where the measured value is zero are not drawn). Below the DLA threshold: the subDLAs of Zafar et al. (2013) in every
panel and, in the panel 3 < z < 4, the points of O'Meara et al. (2007) and the region allowed for LLS by Prochaska,
O'Meara and Worseck (2010) (provenance). Every measurement is drawn per
unit X in the cosmology of the model line; the band is not converted. One snapshot stands beside each bin (z = 3.4
for the bin 3 to 4). The bin 4 to 5 is left out because it reaches beyond z = 4.6, the edge of the range that the
grouped validation of the model's P1D correction covers; the correction of the CDDF itself is not validated at any
redshift. The model's held-out range is not drawn here; a prediction carries it per bin (pred.cddf_lower to
pred.cddf_upper). Full caption.
The class power ratio P_class / P_clean at z = 3. Blue: the low-resolution PRIYA training simulations with the
filtered troughs restored (z = 3.0): the range over the 60 simulations at all mean-flux rungs (lighter), the range
over the 60 simulations at the rung nearest 1 (darker) and its median (line). Orange line: Eq. 6 of Rogers et al.
(2018, arXiv:1706.08532) as published, from
hcd_analysis.hcd_template.class_ratio at z = 3.0 (their snapshot is at z = 3.01). Orange band: the same with the
amplitude of its k-dependent term between 0.5 and 2 times; a fit leaves that amplitude free, and the range is this
figure's choice, not a prior from the paper. Shaded: below 7.85e-4 s/km, the lowest mode of their 8000 km/s box, where
the template is evaluated by extrapolation. This figure holds no emulator prediction: the emulator predicts the
filtered class spectra and was not tested with the troughs restored
(docs/rogers_comparison.md).
Scope and limitations of this release
The supported public interface of this release is the predictor (hcd_analysis.predictor): the per-class P1D
(clean, LLS, subDLA, DLA) from an LF+MF model, and a linear mix of the HCD classes (add_hcd).
hcd_analysis.likelihood is a public DATA likelihood with a mock-recovery example, supported in this release (no
emulator covariance is added). The research likelihood and the fit scripts of the pipeline stay outside the supported
scope, with the rest of the research code (the catalogue pipeline and training).
Not in this release:
- No fit to measured data is supported: the example fits a simulated mock; any fit to a measurement is the
user's, with the data likelihood as documented. The research fits (Stages 3 and 4 of
docs/pipeline.md;tests/DEFERRED.md) are not part of the release. - No HCD fitting, and no model of how the HCD content changes with redshift.
add_hcdevaluates any physical amplitudes, one per class per redshift, and fits nothing; the incidence law and its priors are research code. - No prediction between snapshot redshifts. Predictions exist at z = 2.0, 2.2, ..., 5.4 only; an LF+MF prediction is refused below the MF record's lower edge (z 2.2 by default) and flagged above z 4.6.
- Two defective training rows at z = 5.4. The source spectra files of two low-fidelity simulations are incomplete at z = 5.4 (in compact regions of the box the optical depth of the gas is missing; a defect of the spectra extraction, not physical variation and not an effect of this package's processing). Both rows are in the training data of the LF model, and one of them dominates the held-out prediction residual of the LF prediction at z = 5.4 at the largest scales; the model release's P1D held-out record states it and gives the residual without that simulation beside it.
- No bandpower model. A prediction is a per-class spectrum at points in k: no metal lines, no
spectrograph-resolution correction and no bin window.
hcd_analysis.likelihoodbrings it to a data set's bins by linear interpolation and an optional factor (docs/likelihood.md). - No calibrated emulator error.
member_stdis the spread over ensemble members that differ only in their random seed; it is not an error bar and not a covariance. With the model release, each class spectrum carries a held-out prediction residual (P_class_validation_rms_log: the rms of ln(prediction / truth) over simulations the model was made without). It is an empirical validation diagnostic from five or six simulations, not a calibrated predictive uncertainty, and the likelihood adds no emulator term to the data covariance. - The CDDF is poorly known at the highest column densities. In its four bins from 10^22.2 cm^-2 up, the
held-out error of the CDDF (
pred.cddf_err, a number on the logarithm) has a median of 0.48 over the LF+MF redshifts and reaches 1.35: the rangepred.cddf_lowertopred.cddf_upperis the value times 0.62 to the value times 1.61 in the median, and the value times 0.26 to the value times 3.9 at the largest. Below those bins the median is 0.03. - No catalogue or derived product of this project is public. The trained LF+MF model is; the absorber catalogues, the training cache and the research checkpoints are not (see Models and data).
Models and data
Data availability. The data products of this project are HCD absorber catalogues and the products derived from them; it does not provide raw simulation data. Researchers who need the raw PRIYA simulation outputs can request them from the authors of Bird et al. 2023, JCAP 2023 (10) 037 (doi:10.1088/1475-7516/2023/10/037, arXiv:2306.05471). The catalogues and derived products are not in this code repository, and their release is planned but not yet available.
Trained models. They come in the companion package hcd-priya-models, which hcd-priya requires: a data
package whose model files are under the Creative Commons Attribution 4.0 licence (CC BY 4.0) and whose few lines of
Python are under the MIT licence. hp.load_published() finds the model in the installed package and loads it only against
the sha256 that hcd-priya itself lists for that model version (hcd_analysis/published_models.py): for a
published model the digest comes from the code package, never from the model package, so changed model files are
refused, and so is a model version this version of the code does not list. That list holds the model release that
pyproject.toml pins: the LF+MF model published with this version of the code. Its files (the release archive,
the reference predictions and the example download) are on the GitHub release of this version.
hp.load_release(release_dir, sha256) loads a release whose files you hold yourself. To check a model from a fresh
install, run python -I -m hcd_analysis.check_release --published, or with RELEASE_DIR SHA256 for a release
directory (-I keeps a clone in the current directory out of the import path, so the installation is what is
tested); add --reference FILE to compare the numbers with the reference predictions published beside the release
(without it the last line reads PASSED (no reference compared)).
The details are in docs/models_and_data.md: what is and is not distributed, the release
format (HDF5 + JSON, no pickle), the LF+MF correction, and the environment variables of the observed P1D files that
the research code reads.
Where to go next
- To report an issue, ask for help or contribute:
CONTRIBUTING.md. - The API reference of the predictor and the loaders is on the documentation site, built from
docs/api.md; a step-by-step guide to production and research bundles with executable examples isdocs/tutorials/production_and_research_bundles.md. - The research pipeline (catalogue construction, and the four stages from the simulation P1D to inference, a
historical record) is described in
docs/pipeline.md. - The emulator deep-dive covers the architecture, the τ₀ cache, the training
recipe, the forward model, the input contract and the conventions:
hcd_analysis/emulator/README.md. - Five short notebooks introduce the per-(sim, snap) HCD data products of the catalogue pipeline from the ground
up, for readers who hold the simulation outputs. They need the raw spectra and the pipeline's outputs, which
are not distributed, and they do not use the emulator:
notebooks/tutorials/README.md. - The science walkthrough and the record of bugs found on the catalog/P1D side
are in
docs/analysis.md,docs/bugs_found.md,docs/data_layout.mdanddocs/p1d_definition.md. - The public validation summaries, all on simulations or mocks: the held-out errors of dN/dX and the CDDF that the
model carries (
pred.dndx_err,pred.cddf_err); the held-out prediction residual of the class spectra that the model carries (pred.P_class_validation_rms_log, with every residual vector in the model release and three figures of it indocs/model_figures.md); the emulator-covariance check on the example's mock and the interpolation checks (docs/likelihood.md); the comparison with the template of Rogers et al. (2018) (docs/rogers_comparison.md). That residual rests on six (LF) and five (LF+MF) held-out simulations; the leave-one-simulation-out validation of the class spectra over all training simulations, the coverage tests and the Fisher checks are not public. No result from real data is in this release; the closure gates belong to the research path and are not part of it.
Tests / status
Install the test extra (above), then run a test file with pytest, one file per process:
JAX_PLATFORMS=cpu python -m pytest -q tests/test_cli_config.py
Many tests need real assets that are not in this repository (the training cache, trained emulator members,
observational data, raw simulation outputs). tests/ci_tiers.toml assigns every test
file to a tier and a level (pr, nightly or release) and says why a file or test is not run in continuous
integration. The workflow .github/workflows/tests.yml builds the wheel and the
source archive, checks their contents against the commit, installs the wheel into a fresh environment and runs the
"wheel" and "source" tiers at the pr level with tools/ci/run_test_tier.py, which
reports every skipped, deferred or deselected test as not run, never as passed; the nightly level runs in
.github/workflows/nightly.yml (docs/compatibility.md
says what runs where). The same runner works from a clone:
JAX_PLATFORMS=cpu python tools/ci/run_test_tier.py --tier source --level pr --out <new_results_dir>
python tools/ci/run_test_tier.py --list-not-run --level pr
Status: research code under active development. The public validation summaries are listed above, all on simulations or mocks; no result from real data is in this release.
Repository map
hcd_analysis/predictor.py the public predictor: load a model, predict per-class P1D, w_c, dN/dX and the CDDF
hcd_analysis/likelihood.py the Gaussian P1D likelihood and the reading and writing of data sets
hcd_analysis/check_release.py checking an installed model release (python -I -m hcd_analysis.check_release)
hcd_analysis/ the catalogue, P1D and CDDF pipeline (catalog.py, p1d.py, cddf.py, ...)
hcd_analysis/emulator/ the JAX/Equinox emulator and its research inference (see its own README)
hcd_analysis/cli/run.py the `hcd` command-line entry point
examples/ the mock-recovery example (examples/mock_recovery.py)
model_package/ the companion package hcd-priya-models (the trained models; data only)
config/default.yaml default pipeline config
scripts/ install, SLURM batch, cache build, LOSO sweep, plotting (research; tests/DEFERRED.md
lists the ones that do not run as they stand)
notebooks/tutorials/ five starter notebooks for new students
tests/ the test suite; tests/ci_tiers.toml says when CI runs each file
tools/ci/ the CI tools: the test-tier runner, the distribution checks and content scan
docs/ the documentation (index.md; likelihood.md, models_and_data.md, release_checklist.md, ...)
figures/analysis/ historical research outputs made before the 2026-10 k-coordinate fix; they validate no
release model
checkpoints/ the production ensemble's manifests (the trained files themselves are not in git; see
docs/models_and_data.md)
hcd_analysis/_emulator_data/ the 1.1 GB τ₀ cache; gitignored, not in this repo (see docs/models_and_data.md)
Metadata
Release files for hcd-priya 1.0.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 | Provenance | Actions |
|---|---|---|---|---|
| hcd_priya-1.0.0.tar.gz | 665.5 kB | With provenance | Details for hcd_priya-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hcd_priya-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for hcd_priya-1.0.0-py3-none-any.whl |
Total release size: 1.4 MB
Release files / hcd_priya-1.0.0.tar.gz
| Download URL | hcd_priya-1.0.0.tar.gz |
|---|---|
| Size | 665.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cd1d4ab25d3ab87578230b5146efcaefa6affd017b123c52a810b47fabba1a6b
|
|
BLAKE2b-256 checksum How to use checksums |
4da734d150cf897017041254104d6b1d2802dc3ce9d23d2ec53856270e4a1012
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 20, 2026.
Transparency logRelease files / hcd_priya-1.0.0-py3-none-any.whl
| Download URL | hcd_priya-1.0.0-py3-none-any.whl |
|---|---|
| Size | 687.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cea46ece2073edbdec00c418f57e294a9b239f940bd7356c864706169d8ddc50
|
|
BLAKE2b-256 checksum How to use checksums |
3ee87a56cf45638746456be2bf2beed6a64b8c84eadd0f72484215e9db85edd7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 20, 2026.
Transparency logSecurity for hcd-priya 1.0.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for hcd_priya-1.0.0.tar.gz
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 Nov 20, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.