{
  "schema_version": 1,
  "task": "jdp-tess-lightcurve",
  "input": {
    "path": "research/tess-timing/data/synthetic_lightcurve.fits",
    "filename": "synthetic_lightcurve.fits",
    "sha256": "e3a9d3c04ba22fe480d1355f68373ac3d93cd11e423ef68826faf9a104d7002e",
    "size_bytes": 8640,
    "synthetic": true
  },
  "quality_mask": {
    "mask_value": 175,
    "bits": [
      1,
      2,
      4,
      8,
      32,
      128
    ],
    "bit_table": [
      {
        "bit": 1,
        "name": "attitude tweak"
      },
      {
        "bit": 2,
        "name": "safe mode"
      },
      {
        "bit": 4,
        "name": "coarse point"
      },
      {
        "bit": 8,
        "name": "earth point"
      },
      {
        "bit": 32,
        "name": "desaturation event"
      },
      {
        "bit": 128,
        "name": "manual exclude"
      }
    ],
    "policy": "A cadence is excluded when (QUALITY & mask_value) != 0."
  },
  "cadence_counts": {
    "input_rows": 12,
    "finite_time": 12,
    "after_quality_mask": 9,
    "retained": 8,
    "removed_nonfinite_time": 0,
    "removed_by_quality_mask": 3,
    "removed_nonfinite_quality": 0,
    "removed_nonfinite_flux": 1
  },
  "cadence_count_before_masking": 12,
  "cadence_count_after_masking": 8,
  "gap_count": 1,
  "gaps": {
    "gap_count": 1,
    "nominal_cadence_seconds": 120.0,
    "gap_threshold_seconds": 180.0,
    "missing_cadences_in_gaps": 5,
    "longest_gap_seconds": 720.0
  },
  "normalization": {
    "method": "median",
    "description": "Each flux column is divided by the median of its finite values after masking. The matching uncertainty is divided by the same median, so errors are in relative-flux units.",
    "sap_median_raw_flux": 105.5,
    "pdcsap_median_raw_flux": 211.0,
    "sap_normalized_median": 1.0,
    "pdcsap_normalized_median": 1.0
  },
  "outputs": {
    "csv": "research/tess-timing/data/lightcurve-run/synthetic_lightcurve.csv"
  },
  "software": {
    "python": "3.12.1",
    "numpy": "1.26.4",
    "astropy": "7.2.0",
    "tess_timing": "0.1.0"
  },
  "limits": [
    "No detrending is applied.",
    "No transit is fitted and no mid-transit time is produced.",
    "No timing measurement or novelty claim is made.",
    "The synthetic fixture is test data, not an observation and not a SPOC product."
  ]
}
