Ejemplo n.º 1
0
def calc_years():
    """
    Calculate the epoch for each data set.
    """
    dataDir = '{0}/00.DATA/'.format(workDir)

    epoch = images.calc_mean_year(glob.glob(dataDir + '*_flt.fits'))

    print('{0:8.3f}'.format(epoch))
Ejemplo n.º 2
0
def calc_years():
    """
    Calculate the epoch for each data set.
    """
    dataDir = '{0}/00.DATA/'.format(workDir)

    epoch = images.calc_mean_year(glob.glob(dataDir + '*_flt.fits'))

    print('{0:8.3f}'.format(epoch))
Ejemplo n.º 3
0
def calc_years():
    """
    Calculate the epoch for each data set.
    """
    years = ['2005', '2010', '2010', '2010', '2013', '2013']
    filts = ['F814W', 'F125W', 'F139M', 'F160W', 'F160W', 'F160Ws']
    
    for ii in range(len(years)):
        dataDir = '{0}/{1}_{2}/00.DATA/'.format(workDir, years[ii], filts[ii])

        epoch = images.calc_mean_year(glob.glob(dataDir + '*_flt.fits'))

        print(('{0}_{1} at {2:8.3f}'.format(years[ii], filts[ii], epoch)))
def calc_years():
    """
    Calculate the epoch for each data set.
    """
    years = ['2005', '2010', '2010', '2010', '2013', '2013']
    filts = ['F814W', 'F125W', 'F139M', 'F160W', 'F160W', 'F160Ws']
    
    for ii in range(len(years)):
        dataDir = '{0}/{1}_{2}/00.DATA/'.format(workDir, years[ii], filts[ii])

        epoch = images.calc_mean_year(glob.glob(dataDir + '*_flt.fits'))

        print(('{0}_{1} at {2:8.3f}'.format(years[ii], filts[ii], epoch)))