API Reference#
madcubapy.utils Package#
The madcubapy.utils package provides utility functions to help the user
work with astronomical data.
Functions#
|
Return the centroid of a polygon. |
|
Convert a channel width between velocity and frequency. |
|
Create a spectral axis array. |
|
Estimate the rms for a given peak intensity and desired SNR of a line |
|
Measure the SNR of a line by integrating the emission on the fitted gaussian profile |
|
Measure the peak SNR of a line by providing peak intensity and rms |
|
Measure the SNR of a line by integrating the emission on the fitted gaussian profile |
|
Measure the SNR of a line by integrating the emission on the observed channels. |
|
Convert observed frequency to rest frequency. |
|
Convert observed frequency to velocity. |
|
Measure the area of a polygon's vertices. |
|
Compute the signed area of a polygon. |
|
Convert rest frequency to observed frequency. |
|
Convert rest frequency to velocity. |
|
Convert velocity to observed frequency. |
|
Convert velocty to rest frequency. |