seabirdfilehandler.hexfile module

Inheritance diagram of seabirdfilehandler.hexfile
class seabirdfilehandler.hexfile.HexFile(path_to_file, path_to_xmlcon='', *args, **kwargs)[source]

Bases: DataFile

A representation of a .hex file as used by SeaBird.

Parameters:

path_to_file (Path | str:) – the path to the file

get_corresponding_xmlcon(path_to_xmlcon='')[source]

Finds the best matching .xmlcon file inside the same directory.

Parameters:

path_to_xmlcon (Path | str:) – A fixed path to a xmlcon file. Will be checked.

Return type:

XMLCONFile | None