-
Notifications
You must be signed in to change notification settings - Fork 0
Data Sources
voidmap-bot edited this page Jun 5, 2026
·
1 revision
Voidmap miners process real astronomical data from public archives. All data is freely available and requires no authentication.
MAST (Mikulski Archive for Space Telescopes) is NASA's archive of astronomical data. It hosts data from TESS, Kepler, Hubble, and other missions.
- TESS Light Curves: 2-minute cadence photometry for 200,000+ stars
- Kepler Light Curves: 1-minute cadence for 150,000+ stars
- Hubble Images: Deep field imaging across multiple wavelengths
import lightkurve as lk
# Search for TESS data
search = lk.search_lightcurve("TIC 307210830", mission="TESS", author="SPOC")
# Download light curve
lc = search[0].download()
# Access data
time = lc.time.value # Time in BTJD
flux = lc.pdcsap_flux.value # Detrended flux| Endpoint | URL |
|---|---|
| Portal | https://mast.stsci.edu |
| API | https://mast.stsci.edu/api/v0/invoke |
| File Download | https://mast.stsci.edu/api/v0.1/Download/file |
TESS light curves are FITS files containing:
| Column | Description |
|---|---|
| TIME | Time (BTJD) |
| SAP_FLUX | Simple Aperture Photometry flux |
| PDCSAP_FLUX | Detrended flux (use this) |
| QUALITY | Quality flags |
SDSS is a major astronomical survey that has mapped over 1/3 of the sky. It provides images and spectra for millions of galaxies.
- Galaxy Images: RGB images of millions of galaxies
- Spectra: Optical spectra for classification
- Catalogs: Positions, magnitudes, classifications
import urllib.request
# Download galaxy cutout
url = ("https://skyserver.sdss.org/dr18/SkyServerWS/ImgCutout/getjpeg?"
"ra=184.9511&dec=-0.8754&scale=0.4&width=64&height=64")
req = urllib.request.Request(url, headers={"User-Agent": "VoidmapMiner/1.0"})
with urllib.request.urlopen(req, timeout=30) as resp:
img_data = resp.read()| Endpoint | URL |
|---|---|
| SkyServer | https://skyserver.sdss.org/dr18 |
| Image Cutout | https://skyserver.sdss.org/dr18/SkyServerWS/ImgCutout/getjpeg |
| SQL Search | https://skyserver.sdss.org/dr18/SkyServerWS/SearchTools/SqlSearch |
-- Get spiral galaxies
SELECT TOP 100 p.objID, p.ra, p.dec, p.r, p.type
FROM PhotoPrimary p
WHERE p.type = 3 AND p.r < 20
-- Get galaxy images
SELECT s.specobjid, s.ra, s.dec, s.z
FROM SpecObj s
WHERE s.class = 'GALAXY' AND s.z < 0.1ZTF is a robotic sky survey that scans the entire northern sky every 3 nights. It detects transient events like supernovae, asteroids, and variable stars.
- Alerts: Real-time notifications of transient events
- Light Curves: Photometry in g and r bands
- Cutouts: Science, template, and difference images
import urllib.request
import json
# Download alerts from Fink broker
url = "https://api.ztf.fink-portal.org/api/v1/latests"
payload = json.dumps({
"class": "SN",
"nalerts": 10,
"output-format": "json"
}).encode()
req = urllib.request.Request(url, data=payload,
headers={"Content-Type": "application/json"})
with urllib.request.urlopen(req, timeout=30) as resp:
alerts = json.loads(resp.read())| Broker | URL |
|---|---|
| Fink | https://api.ztf.fink-portal.org |
| ALeRCE | https://ztf.alerce.online |
| Lasair | https://lasair-ztf.lsst.ac.uk/api |
ZTF alerts contain:
| Field | Description |
|---|---|
| objectId | Unique identifier |
| ra, dec | Sky coordinates |
| jd | Julian date |
| magpsf | Magnitude |
| fid | Filter (1=g, 2=r) |
| cutoutScience | Science image |
| cutoutTemplate | Template image |
| cutoutDifference | Difference image |
- Download: FITS file from MAST
- Quality filter: Remove bad cadences (QUALITY > 0)
- Outlier removal: 5-sigma clip
- Normalize: Divide by median flux
- Fill NaNs: Linear interpolation
- Phase-fold: Fold at orbital period
- Resample: Fixed-length arrays (201, 81)
- Download: JPEG from SDSS SkyServer
- Resize: 224x224 pixels
- Normalize: Float32 [0, 1]
- Classify: Run ConvNeXT model
- Download: Alerts from Fink broker
- Extract features: Magnitude, time, position
- Encode: Run through autoencoder
- Score: Reconstruction error > 2σ = anomaly
| Metric | Description | Range |
|---|---|---|
| Quality Flags | Instrument-specific flags | 0 = good |
| Signal-to-Noise | Flux uncertainty | > 5 recommended |
| Cadence Coverage | Percentage of valid cadences | > 80% recommended |
- TESS: Sector boundaries have gaps
- SDSS: Bright stars cause artifacts
- ZTF: Weather affects observations
If you have astronomical data to contribute:
- Format it as FITS or JSON
- Upload to IPFS
- Submit to MiningPool contract
- Miners will process it