redback.analysis

Functions

combine_classifications(spectral_result, ...)

Combine spectral and photometric classification results into a single estimate.

fit_temperature_and_radius_gp(data, kernelT, ...)

Fit a Gaussian Process to the temperature and radius data

generate_new_transient_data_from_gp(gp_out, ...)

Generates new transient data based on Gaussian Process (GP) predictions for the given time array and transient object.

plot_evolution_parameters(result[, ...])

Plot evolution parameters for a given evolving_magnetar result

plot_gp_lightcurves(transient, gp_output[, ...])

Plot the Gaussian Process lightcurves

plot_lightcurve(transient, parameters, model)

Plot a lightcurve for a given model and parameters

plot_multiband_lightcurve(transient, ...[, ...])

Plot a multiband lightcurve for a given model and parameters

plot_spectrum(model, parameters, time_to_plot)

Plot a spectrum for a given model and parameters

Classes

ClassificationResult(best_type, best_phase, ...)

Result of spectral or photometric transient classification.

PhotometricClassifier([model_templates])

Classify transients from light curve shape using redback photometric models.

SpectralTemplateMatcher([...])

Match spectra to template library (similar to SNID).

SpectralVelocityFitter(wavelength, flux[, ...])

Measure expansion velocities from spectral line profiles