avocado.Augmentor.augment_object

Augmentor.augment_object(reference_object, force_success=True)

Generate an augmented version of an object.

Parameters:
  • reference_object (AstronomicalObject) – The object to use as a reference for the augmentation.
  • force_success (bool) – If True, then if we fail to generate an augmented light curve for a specific set of augmented parameters, we choose a different set of augmented parameters until we eventually get an augmented light curve. This is useful for debugging/interactive work, but when actually augmenting a dataset there is a massive speed up to ignoring bad light curves without a major change in classification performance.
Returns:

augmented_object – The augmented object. If force_success is False, this can be None.

Return type:

AstronomicalObject