ztforce.cache
Cache directory layout and path helpers.
Classes
Root cache directory for all ztforce data. |
Functions
|
Create a CacheConfig, defaulting to ~/.ztforce/cache. |
|
Path for a cached per-source lightcurve ECSV. |
Module Contents
- make_cache(root: str | pathlib.Path | None = None) CacheConfig[source]
Create a CacheConfig, defaulting to ~/.ztforce/cache.
- lightcurve_path(cache: CacheConfig, ra: float, dec: float, band: str) pathlib.Path[source]
Path for a cached per-source lightcurve ECSV.