예제 #1
0
def get_image(glon,
              glat,
              radius=20,
              save=True,
              overwrite=False,
              directory='./'):
    """
    Download Bolocam image data at specified GLON/GLAT with specified size

    Parameters
    ----------
    glon : float
    glat : float
        Galactic latitude and longitude at the center
    radius : float
        Size of cutout (symmetric) in arcminutes
    save : bool
        Save FITS?
    directory : string
        Directory in which to save file
    """

    return magpis.get_magpis_image_gal(glon,
                                       glat,
                                       size=radius,
                                       save=save,
                                       overwrite=overwrite,
                                       directory=directory)
예제 #2
0
def get_image(glon,glat,radius=20,save=True,overwrite=False,directory='./'):
    """
    Download Bolocam image data at specified GLON/GLAT with specified size

    Parameters
    ----------
    glon : float
    glat : float
        Galactic latitude and longitude at the center
    radius : float
        Size of cutout (symmetric) in arcminutes
    save : bool
        Save FITS?
    directory : string
        Directory in which to save file
    """

    return magpis.get_magpis_image_gal(glon, glat, size=radius, save=save,
            overwrite=overwrite, directory=directory)
예제 #3
0
def test_get_file():
    fitsfile = magpis.get_magpis_image_gal(10.5,0.0)
예제 #4
0
def test_get_file():
    fitsfile = magpis.get_magpis_image_gal(10.5, 0.0, overwrite=True)