Exemplo n.º 1
0
def single_display(image_id, frame=1):
    """
    Display the flat field reduced image for a given image ID (as defined in the GDB).
    """
    _prep_ds9()
    produce_flat(image_id, True)
    print "single", image_id
    filename, cam = get_cam_flat_filename(image_id)
    iraf.display(filename, frame)
Exemplo n.º 2
0
def single_display(image_id, frame=1):
    """
    Display the flat field reduced image for a given image ID (as defined in the GDB).
    """
    _prep_ds9()
    produce_flat(image_id, True)
    print "single", image_id
    filename, cam = get_cam_flat_filename(image_id)
    iraf.display(filename, frame)
Exemplo n.º 3
0
def get_image_data(image_id):
    filename, _ = get_cam_flat_filename(image_id)
    produce_flat(image_id, True)
    return getdata(filename)