convert_msv2_to_processing_set,
estimate_conversion_memory_and_cores,
import warnings
from .processing_set_xdt import ProcessingSetXdt
from .open_processing_set import open_processing_set
from .load_processing_set import load_processing_set
from .measurement_set_xdt import MeasurementSetXdt
from .schema import SpectrumXds, VisibilityXds
__all__ = [
"ProcessingSetXdt",
"MeasurementSetXdt",
"open_processing_set",
"load_processing_set",
"SpectrumXds",
"VisibilityXds",
]
try:
from .convert_msv2_to_processing_set import (
convert_msv2_to_processing_set,
estimate_conversion_memory_and_cores,
)
except ModuleNotFoundError as exc:
warnings.warn(
f"Could not import the function to convert from MSv2 to MSv4. "
f"That functionality will not be available. Details: {exc}",
UserWarning,
)
else:
__all__.extend(
["convert_msv2_to_processing_set", "estimate_conversion_memory_and_cores"]
)
The API documentation (https://xradio.readthedocs.io/en/latest/measurement_set/api.html) is missing for:
I suspect this is due to the conditionals in xradio/src/xradio/measurement_set/init.py
or it might be due to a missing dependency on readthedocs: https://github.com/casangi/xradio/blob/main/docs/sphinx.txt