make_opener¶
-
baseband.vlbi_base.base.
make_opener
(fmt, classes, doc=u'', append_doc=True)[source] [edit on github]¶ Create a baseband file opener.
Parameters: fmt : str
Name of the baseband format.
classes : dict
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()
.doc : str, optional
If given, used to define the docstring of the opener.
append_doc : bool, optional
If
True
(default), appenddoc
to the default docstring rather than override it.