reference frequency vs rest frequency
I noticed that your code gets the rest frequency from the template image, but I think it would be more appropriate to get the reference frequency instead.
NRAO GitLab and Mattermost will be offline for up to 60 minutes every Thursday for maintenance between 9:00 PM and 10:00PM Eastern. Please update your scripts to not push/pull during this time.
I noticed that your code gets the rest frequency from the template image, but I think it would be more appropriate to get the reference frequency instead.