API

RAPID has a few important classes and methods.

Classify light curves

  • astrorapid.classify.Classify - Setup light curve classification
  • astrorapid.classify.Classify.get_predictions() - Classify light curves!

Plot classifications

  • astrorapid.classify.Classify.plot_light_curves_and_classifications() - Plot light curves and classifications
  • astrorapid.classify.Classify.plot_classification_animation() - Plot animation of light curves and classifications

Train your own classifier

  • astrorapid.get_custom_data.get_custom_data() - Read custom data files and save preprocessed light curves.
  • astrorapid.custom_classifier.create_custom_classifier() - Run preprocessing and train neural network classification model.

The full documentation of useful classes and methods can be found below.

Full Documentation