pipeline.infrastructure.utils.imaging¶
The imaging module contains utility functions used by the imaging tasks.
TODO These utility functions should migrate to hif.tasks.common
Functions
|
Convert channel selection to frequency tuples for a given CASA cube. |
|
Approximate equality check up to a given number of digits. |
|
Convert frequency selection to channel tuples for a given CASA cube. |
|
Compute intersection of ranges. |
|
Compute intersection of ranges through weight arrays and a threshold. |
|
Merge overlapping and adjacent ranges and yield the merged ranges in order. |
|
Set a hierarchy of dictionaries with given keys and value for the lowest level key. |
|
This utility function takes a frequency range (as numbers with arbitrary but common units) and computes the intersection with a list of frequency ranges defining the regions of spectral lines. |
|
Update a beams dictionary. |
|
Update a sensitivity dictionary. |