pipeline.infrastructure.utils.utils¶
The utils module contains general-purpose uncategorised utility functions and classes.
Functions
|
Return True if two numbers are equal within the given tolerance. |
|
Return True if the contents of the given arrays are equal. |
|
Recursively merge dictionaries. |
|
Indicate if the fieldname is allowed as-is. |
|
Prepare field string to be used as CASA argument. |
|
Identify numeric ranges in string or list. |
|
Idendity isnads of ones in input array or list. |
|
Wrapper around quanta.quantity() that handles None input. |
|
Returns accessor to field name or field ID, if field name is ambiguous. |
Maps numeric field IDs to field names. |
|
|
Obtain number of polarisations from calibration table. |
|
Return dictionary of receiver types for requested spectral window IDs. |