parsnip.ParsnipModel.preprocess

ParsnipModel.preprocess(dataset, chunksize=64, verbose=True)

Preprocess an lcdata dataset

The preprocessing will be done over multiple threads. Set ParsnipModel.threads to change how many are used. If the dataset is already preprocessed, then nothing will be done and it will be returned as is.

Parameters:
  • dataset (Dataset) – Dataset to preprocess

  • chunksize (int, optional) – Number of light curves to process at a time, by default 64

  • verbose (bool, optional) – Whether to show a progress bar, by default True

Returns:

Preprocessed dataset

Return type:

Dataset