check_filetype

lightcurve.io.check_filetype(filename)

Determine the type of data being input.

File type is determined by the culumns in the first data extension.

Parameters:filename (str) – name of the input file
Returns:filetype – determined type of file
Return type:str