katsdpimager.loader module¶
Data loading frontend
-
katsdpimager.loader.data_iter(dataset, vis_limit, vis_load, start_channel, stop_channel)¶ Wrapper around
katsdpimager.loader_core.LoaderBase.data_iter()that handles truncation to a number of visibilities specified on the command line.
-
katsdpimager.loader.load(filename, options, start_channel=0, stop_channel=None)¶ Load a dataset.
The class is automatically determined from the registered loaders.
- Parameters
filename (str) – Name of the data set to load (does not necessarily have to be a filename e.g., it could be an URL).
options (Dict[str, Any]) – Loader-specific command-line options.
start_channel (int, optional) – Channel range of interest. This serves as a hint only, to optimise loading, and does not change the channel numbers used to interact with the data set.
stop_channel (int, optional) – Channel range of interest. This serves as a hint only, to optimise loading, and does not change the channel numbers used to interact with the data set.