add_sile

sisl.io.add_sile(suffix, cls, case=True, gzip=False)[source]

Add files to the global lookup table

Public for attaching lookup tables for allowing users to attach files externally.

Parameters
suffixstr

The file-name suffix, it can be several file endings (.TBT.nc)

clschild of BaseSile

An object that is associated with the respective file. It must be inherited from BaseSile.

casebool, optional

Whether case sensitivity is applicable for determining file.

gzipbool, optional

Whether files with .gz endings can be read. This option should only be given to files with ASCII text output.