DataUtils.UvFileTrimming#
DataUtils.UvFileTrimming.py
- trim_uvfile(in_uvfile, uv_slices, trimmed_uvfile, debug=False)#
Trim the UV file with the given trimming information and save the trimmed data to a new file.
- Parameters:
in_uvfile (str) – The input UV file path.
uv_slices (tuple of slices) – The slices to apply to the UV data (spectral axis, temporal axis).
trimmed_uvfile (str) – The output UV file path.
debug (bool, optional) – If True, print debug information. Default is False.