classmethod craftutils.observation.epoch.GSAOIImagingEpoch.sort_files(input_dir: str, output_dir: ~typing.Optional[str] = None, tolerance: ~astropy.units.quantity.Quantity = <Quantity 3. arcmin>)

A routine to sort through a directory containing an arbitrary number of GSAOI observations and assign epochs to them.

Parameters
input_dir

tolerance

Images will be grouped if they are < tolerance from each other (or, specifically, from the

first encountered in that cluster). :return: