Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -9,6 +9,10 @@ library_name: onnx
|
|
| 9 |
|
| 10 |
# ATCAT
|
| 11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
**HuggingFace:** [light-curve/atcat](https://huggingface.co/light-curve/atcat)
|
| 13 |
|
| 14 |
## Paper
|
|
@@ -67,10 +71,19 @@ Request only the output(s) you need via `session.run(["token"], feed)` — onnxr
|
|
| 67 |
|
| 68 |
## Preprocessing steps
|
| 69 |
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 74 |
|
| 75 |
## Weights
|
| 76 |
|
|
|
|
| 9 |
|
| 10 |
# ATCAT
|
| 11 |
|
| 12 |
+
**Part of the [light-curve](https://github.com/light-curve) family of open-source tools for astronomical time-series analysis.**
|
| 13 |
+
|
| 14 |
+
Available from Python via the [`light-curve`](https://light-curve.snad.space/) package: `pip install light-curve`. Documentation: [light-curve.snad.space](https://light-curve.snad.space/).
|
| 15 |
+
|
| 16 |
**HuggingFace:** [light-curve/atcat](https://huggingface.co/light-curve/atcat)
|
| 17 |
|
| 18 |
## Paper
|
|
|
|
| 71 |
|
| 72 |
## Preprocessing steps
|
| 73 |
|
| 74 |
+
Prepare inputs using the same pipeline applied during training (`step1_mask_alert_and_join.py`, `polars_ds.py`):
|
| 75 |
+
|
| 76 |
+
1. **Merge all bands into a single chronological sequence.** Collect all observations across all six bands, sort by time, and represent each observation's band as a `channel_index`: `u=0, g=1, r=2, i=3, z=4, Y=5`.
|
| 77 |
+
|
| 78 |
+
2. **Shift time to start at zero.** Subtract the minimum MJD in the object's light curve from all observation times. Supply time in **days**.
|
| 79 |
+
|
| 80 |
+
3. **No flux normalisation.** Pass raw flux and flux_err values without any normalisation. Both are in SNANA FLUXCAL units with reference zero point ZP = 27.5 (a source at 27.5 AB mag has FLUXCAL = 1). The model applies a multi-scale tanh transformation internally.
|
| 81 |
+
|
| 82 |
+
4. **Zero-pad to length 243.** If the object has fewer than 243 observations, right-pad `flux`, `flux_err`, `time`, and `channel_index` with zeros to length 243.
|
| 83 |
+
|
| 84 |
+
5. **Set the mask.** Set `mask = 1` for every slot containing a real observation and `mask = 0` for every padding slot.
|
| 85 |
+
|
| 86 |
+
> **Note:** The training data was filtered to the transient detection window: observations from 30 days before the first detection through the last detected photometry. Data far outside this window is out of distribution for this model.
|
| 87 |
|
| 88 |
## Weights
|
| 89 |
|