src.superphot_plus.data_generation.alerce
This script provides functions for importing and manipulating ZTF data from the Alerce API.
Module Contents
Functions
|
Checks whether stamp classifier categorizes each lightcurve in |
|
Get all unclassified samples and save them to a CSV file. |
|
Generates flux files for all ZTF samples in the master CSV file, |
|
Generates a flux file for a single ZTF sample in the master CSV |
Attributes
- add_stamp_column(input_filename, output_filename)[source]
Checks whether stamp classifier categorizes each lightcurve in spreadsheet as a supernova-like transient, and adds as additional column.
- Parameters:
input_filename (str) – Path to the input CSV file.
output_filename (str) – Path to the output CSV file.
- get_all_unclassified_samples(save_csv)[source]
Get all unclassified samples and save them to a CSV file.
- Parameters:
save_csv (str) – Path to the output CSV file.