This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
from argparse import ArgumentParser | |
import os | |
import numpy as np | |
from astropy.io import fits | |
from astropy.table import Table, vstack | |
from astropy.coordinates import SkyCoord |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
from argparse import ArgumentParser | |
import numpy as np | |
from astropy.io import fits | |
from scipy import ndimage | |
import logging | |
logging.basicConfig(format="%(levelname)s (%(module)s): %(message)s") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
from astropy.io import fits | |
import numpy as np | |
from argparse import ArgumentParser | |
def get_args(): | |
ps = ArgumentParser("Create a full Stokes cube from individual Stokes images.") | |
ps.add_argument("i_image", help="Stokes I image. Must be 2-dimensional (i.e. not existing Stokes or frequency axis.") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
""" | |
Python implementation of the diffuse image filtering technique described by Rudnick (2002): | |
https://ui.adsabs.harvard.edu/abs/2002NewAR..46..101R/abstract | |
""" | |
from argparse import ArgumentParser |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
import os | |
from argparse import ArgumentParser | |
import numpy as np | |
from astropy.coordinates import SkyCoord, EarthLocation, AltAz, FK5 | |
from astropy import units as u | |
from astropy.io import fits | |
from astropy.time import Time | |
from subprocess import Popen |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
# extra comment | |
import argparse | |
import numpy as np | |
from scipy import ndimage # For lobe finding in the primary beam images | |
from scipy.spatial import distance |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
from __future__ import print_function, division | |
import numpy as np | |
from subprocess import Popen | |
import os | |
import shutil | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
import os | |
import numpy as np | |
from astropy.io import fits | |
from astropy.wcs import WCS | |
from astropy.visualization import ZScaleInterval, AsymmetricPercentileInterval, simple_norm | |
from astropy.wcs.utils import proj_plane_pixel_scales |
OlderNewer