make_opener¶
-
baseband.vlbi_base.base.
make_opener
(fmt, classes, doc='', append_doc=True)[source] [edit on github]¶ Create a baseband file opener.
- Parameters
- fmtstr
Name of the baseband format.
- classesdict
With the file/stream reader/writer classes keyed by names equal to ‘FileReader’, ‘FileWriter’, ‘StreamReader’, ‘StreamWriter’ prefixed by
fmt
. Typically, one will pass inclasses=globals()
.- docstr, optional
If given, used to define the docstring of the opener.
- append_docbool, optional
If
True
(default), appenddoc
to the default docstring rather than override it.