avocado.Dataset.from_objects

classmethod Dataset.from_objects(name, objects, **kwargs)

Load a dataset from a list of AstronomicalObject instances.

Parameters:
  • objects (list) – A list of AstronomicalObject instances.
  • name (str) – The name of the dataset.
  • **kwargs – Additional arguments to pass to Dataset()
Returns:

dataset – The loaded dataset.

Return type:

Dataset