get_valid_format#

jdaviz.core.data_formats.get_valid_format(filename)[source]#

Identify a best match Jdaviz configuration from a filename.

Parameters:
filenamestr

The filename of the loaded data

Returns:
valid_formatstr

A valid file format

configstr

The recommended application configuration