specsrbench.build.classical_cache

Rebuild the classical caches on the log constant-R grid with retuned parameters.

Parameters come from specsrbench.build.tune, chosen on the 40-spectrum tune_set that shares no galaxy with the 572-spectrum evaluation set. Writes to cache_logR_tuned/; never touches cache/ or cache_logR/.

Three methods have their optimum at a degenerate boundary and are recorded both ways, at the tuned setting and at the setting paper 2 currently publishes, so the difference is visible rather than buried.

Functions

is_emission_template(name)

Line-list entries the matched filter writes back: emission only.

main([argv])

Rebuild the six classical caches at the tuned parameters.

run(label, fn, arrs, **kw)

stats(name, arr)

specsrbench.build.classical_cache.is_emission_template(name)[source]

Line-list entries the matched filter writes back: emission only.

Breaks and absorption features are excluded – a matched filter that places a positive template at a Balmer break is fitting a step with a Gaussian.

specsrbench.build.classical_cache.run(label, fn, arrs, **kw)[source]
specsrbench.build.classical_cache.stats(name, arr)[source]
specsrbench.build.classical_cache.main(argv=None)[source]

Rebuild the six classical caches at the tuned parameters.

Return type:

int