Esempio n. 1
0
def run():
    lepath=locatescript('leo2pt_regression.py')
    gl['regstate']=True
    execfile(lepath, gl)
    print 'regstate =', gl['regstate']
    if not gl['regstate']:
        raise Exception, 'regstate = False'

    return []
Esempio n. 2
0
def run(fetch=False):
    #####locate the regression script
    lepath=locatescript('testcompsim.py')
    print 'Script used is ',lepath
    gl['regstate']=True
    execfile(lepath, gl)
    print 'regstate =', gl['regstate']
    if not gl['regstate']:
        raise Exception, 'regstate = False'
###return the images that will be templated and compared in future runs
    return ['cltest/cltest.alma.cycle0.extended.ms','cltest/cltest.alma.cycle0.extended.image','cltest/cltest.alma.cycle0.extended.diff']
Esempio n. 3
0
def run(fetch=False):
    #####locate the regression script
    lepath = locatescript("imagetest_regression.py")
    print "Script used is ", lepath
    gl["regstate"] = True
    execfile(lepath, gl)
    print "regstate =", gl["regstate"]
    if not gl["regstate"]:
        raise Exception, "regstate = False"

    return []
Esempio n. 4
0
def run():
    #####locate the regression script
    try: 
        lepath=locatescript('cvel_regression2.py')
        print 'Script used is ',lepath
        execfile(lepath, gl, pass_on)
    except:
        print 'execution failed: ', sys.exc_info()
        raise
###return the images that will be templated and compared in future runs
    return []
Esempio n. 5
0
def run(fetch=False):
    lepath = locatescript('ngc5921_regression.py')
    print 'Script used is ', lepath
    gl['regstate'] = True
    execfile(lepath, gl)
    print 'regstate =', gl['regstate']
    if not gl['regstate']:
        raise Exception, 'regstate = False'

###return the images that will be templated and compared in future runs
    return ['ngc5921_regression/ngc5921.clean.image']
Esempio n. 6
0
def run(fetch=False):
    lepath=locatescript('l02d_regression.py')
    print 'Script used is ',lepath
    gl['regstate']=True
    execfile(lepath, gl)
    print 'regstate =', gl['regstate']
    if not gl['regstate']:
        raise Exception, 'regstate = False'

###return the images that will be templated and compared in future runs
    return ['l2.3mmcont.image', 'l2.1mm.image',  'l02d.3mmcont.image', 'l02d.1mmcont.image', 'l02d.c34s.image', 'l02d.ch3oh.image' ]
Esempio n. 7
0
def run(fetch=False):
    lepath=locatescript('orion_regression.py')
    print 'Script used is ',lepath
    gl['regstate']=True
    execfile(lepath, gl)
    print 'regstate =', gl['regstate']
    if not gl['regstate']:
        raise Exception, 'regstate = False'
#    import lepath+'/g192_regression.py'
###resturn the images that will be templated and compared in future runs
    return ['orion_tfeather.im','orion_tfeather2.im','orion_tsdmem.image','orion_tsdms.image','orion_tjoint3.image']
Esempio n. 8
0
def run():
    lepath=locatescript('ggtau_regression.py')
    print 'Script used is ',lepath
    gl['regstate']=True
    execfile(lepath, gl)
    print 'regstate =', gl['regstate']
    if not gl['regstate']:
        raise Exception, 'regstate = False'
#    import lepath+'/g192_regression.py'
###resturn the images that will be templated and compared in future runs
    return ['ggtau.co.image',  'ggtau.1mm.image', 'ggtau.3mm.image']
Esempio n. 9
0
def run():
    lepath = locatescript("ngc5921_uvcontsub2.py")
    print "Script used is ", lepath
    gl["regstate"] = True
    execfile(lepath, gl)
    print "regstate =", gl["regstate"]
    if not gl["regstate"]:
        raise Exception, "regstate = False"

    ###return the images that will be templated and compared in future runs
    return ["ngc5921uvcontsub2/ngc5921.clean.image"]
Esempio n. 10
0
def run( fetch=False ):
    #####locate the regression script
    lepath=locatescript('cleanhelper_regression.py')
    print 'Script used is ',lepath
    gl['regstate']=True
    execfile(lepath, gl)
    print 'regstate =', gl['regstate']
    if not gl['regstate']:
        raise Exception, 'regstate = False'
###return the images that will be templated and compared in future runs
    return []
Esempio n. 11
0
def run(fetch=False):
    #####locate the regression script
    lepath=locatescript('m51_3sim_regression.py')
    print 'Script used is ',lepath
    gl['regstate']=True
    execfile(lepath, gl)
    print 'regstate =', gl['regstate']
    if not gl['regstate']:
        raise Exception, 'regstate = False'
###return the images that will be templated and compared in future runs
    return ['m51c/m51c.aca.tp.sd.ms','m51c/m51c.aca.i.ms','m51c/m51c.alma_0.5arcsec.ms','m51c/m51c.alma_0.5arcsec.image']
Esempio n. 12
0
def run():
    #####locate the regression script
    lepath=locatescript('testcube2_regression.py')
    print 'Script used is ',lepath
    gl['regstate']=True
    execfile(lepath, gl)
    print 'regstate =', gl['regstate']
    if not gl['regstate']:
        raise Exception, 'regstate = False'
###return the images that will be templated and compared in future runs
    return ['tc2/tc2.alma.out01.ms']
Esempio n. 13
0
def run(fetch=False):
    #####locate the regression script
    lepath = locatescript('ori_hc3n_task_regression.py')
    print 'Script used is ', lepath
    gl['regstate'] = True
    execfile(lepath, gl)
    print 'regstate =', gl['regstate']
    if not gl['regstate']:
        raise Exception, 'regstate = False'

    return []
Esempio n. 14
0
def run(fetch=False):
    #####locate the regression script
    lepath=locatescript('listvis_regression.py')
    print 'Script used is ',lepath
    gl['regstate']=True
    execfile(lepath, gl)
    print 'regstate =', gl['regstate']
    if not gl['regstate']:
        raise Exception, 'regstate = False'

    return []
Esempio n. 15
0
def run():
    lepath=locatescript('ngc1333_regression.py')
    gl['regstate']=True
    execfile(lepath, gl)
    print 'regstate =', gl['regstate']
    if not gl['regstate']:
        raise Exception, 'regstate = False'
#    import lepath+'/g192_regression.py'
###resturn the images that will be templated and compared in future runs
#   return ['src.task.image', 'src.tmom0.red', 'src.tmom0.blu','src.tmom0.all', 'src.tmom1.all' ]
    return ['ngc1333_regression/n1333_both.image', 'ngc1333_regression/n1333_both.src.tmom0.red', 'ngc1333_regression/n1333_both.src.tmom0.blu', 'ngc1333_regression/n1333_both.src.tmom0.all', 'ngc1333_regression/n1333_both.src.tmom1.all']
Esempio n. 16
0
def run(fetch=False):
    #####locate the regression script
    #lepath=locatescript('ori_hc3n_task_regression.py')
    lepath=locatescript('alma-m100-sd-regression.py')
    print 'Script used is ',lepath
    gl['regstate']=True
    execfile(lepath, gl)
    print 'regstate =', gl['regstate']
    if not gl['regstate']:
        raise Exception, 'regstate = False'

    return []
Esempio n. 17
0
def run():
    #####locate the regression script
    lepath=locatescript('g192_regression.py')
    print 'Script used is ',lepath
    gl['regstate']=True
    execfile(lepath, gl)
    print 'regstate =', gl['regstate']
    if not gl['regstate']:
        raise Exception, 'regstate = False'
#    import lepath+'/g192_regression.py'
###resturn the images that will be templated and compared in future runs
    return ['g192_a2.image']
Esempio n. 18
0
def run():
    #####locate the regression script
    lepath = locatescript('testcube2_regression.py')
    print 'Script used is ', lepath
    gl['regstate'] = True
    execfile(lepath, gl)
    print 'regstate =', gl['regstate']
    if not gl['regstate']:
        raise Exception, 'regstate = False'


###return the images that will be templated and compared in future runs
    return ['tc2/tc2.alma.out01.ms']
Esempio n. 19
0
def run():
    #####locate the regression script
    try:
        lepath = locatescript('cvel_regression2.py')
        print 'Script used is ', lepath
        execfile(lepath, gl, pass_on)
    except:
        print 'execution failed: ', sys.exc_info()
        raise


###return the images that will be templated and compared in future runs
    return []
Esempio n. 20
0
def run(fetch=False):

    #####locate the regression script
    lepath = locatescript('pipelineTest_regression.py')
    print 'Script used is ', lepath
    gl['regstate'] = True
    execfile(lepath, gl)
    print 'regstate =', gl['regstate']
    if not gl['regstate']:
        raise Exception, 'regstate = False'

###return the images that will be templated and compared in future runs

    return []
Esempio n. 21
0
def run(fetch=False):
    lepath = locatescript('l02d_regression.py')
    print 'Script used is ', lepath
    gl['regstate'] = True
    execfile(lepath, gl)
    print 'regstate =', gl['regstate']
    if not gl['regstate']:
        raise Exception, 'regstate = False'

###return the images that will be templated and compared in future runs
    return [
        'l2.3mmcont.image', 'l2.1mm.image', 'l02d.3mmcont.image',
        'l02d.1mmcont.image', 'l02d.c34s.image', 'l02d.ch3oh.image'
    ]
Esempio n. 22
0
def run(fetch=False):
    lepath = locatescript('h121_regression.py')
    print 'Script used is ', lepath
    gl['regstate'] = True
    execfile(lepath, gl)
    print 'regstate =', gl['regstate']
    if not gl['regstate']:
        raise Exception, 'regstate = False'
#    import lepath+'/g192_regression.py'
###resturn the images that will be templated and compared in future runs
    return [
        'nrao150.3mm.image', 'h121.co10.image', '0224b.3mm.image',
        'h121b.co10.image', 'h121all.3mm.image', 'h121c.co10.image'
    ]
Esempio n. 23
0
def run(fetch=False):
    #####locate the regression script
    lepath = locatescript('m51_3sim_regression.py')
    print 'Script used is ', lepath
    gl['regstate'] = True
    execfile(lepath, gl)
    print 'regstate =', gl['regstate']
    if not gl['regstate']:
        raise Exception, 'regstate = False'
###return the images that will be templated and compared in future runs
    return [
        'm51c/m51c.aca.tp.sd.ms', 'm51c/m51c.aca.i.ms',
        'm51c/m51c.alma_0.5arcsec.ms', 'm51c/m51c.alma_0.5arcsec.image'
    ]
Esempio n. 24
0
def run(fetch=False):
    #####locate the regression script
    lepath=locatescript('3C391polim_regression.py')
    print 'Script used is ',lepath
    gl['regstate']=True
    execfile(lepath, gl)
    print 'regstate =', gl['regstate']
    if not gl['regstate']:
        raise Exception, 'regstate = False'

###return the images that will be templated and compared in future runs
    # *curretly 3C391polim_regression.py has a way to store stats in a pickle
    # file.
    return []
Esempio n. 25
0
def run(fetch=False):
    #####locate the regression script
    lepath = locatescript('3C391polim_regression.py')
    print 'Script used is ', lepath
    gl['regstate'] = True
    execfile(lepath, gl)
    print 'regstate =', gl['regstate']
    if not gl['regstate']:
        raise Exception, 'regstate = False'


###return the images that will be templated and compared in future runs
# *curretly 3C391polim_regression.py has a way to store stats in a pickle
# file.
    return []
Esempio n. 26
0
def run(fetch=False):
    #####locate the regression script
    lepath = locatescript('testcompsim.py')
    print 'Script used is ', lepath
    gl['regstate'] = True
    execfile(lepath, gl)
    print 'regstate =', gl['regstate']
    if not gl['regstate']:
        raise Exception, 'regstate = False'
###return the images that will be templated and compared in future runs
    return [
        'cltest/cltest.alma.cycle0.extended.ms',
        'cltest/cltest.alma.cycle0.extended.image',
        'cltest/cltest.alma.cycle0.extended.diff'
    ]
Esempio n. 27
0
def run(fetch=False):
    #####locate the regression script
    lepath = locatescript("ppdisk2_regression.py")
    print "Script used is ", lepath
    gl["regstate"] = True
    execfile(lepath, gl)
    print "regstate =", gl["regstate"]
    if not gl["regstate"]:
        raise Exception, "regstate = False"
    ###return the images that will be templated and compared in future runs
    return [
        "psim2/psim2.alma.out20.noisy.ms",
        "psim2/psim2.alma.out20.noisy.image",
        "psim2/psim2.alma.out20.noisy.diff",
    ]
Esempio n. 28
0
def run(fetch=False):

    #####fetch data
    if fetch:
        for f in data():
            copydata(f, os.getcwd())

    #####locate the regression script
    lepath = locatescript('accum_regression.py')
    gl['regstate'] = True
    execfile(lepath, gl)
    print 'regstate =', gl['regstate']
    if not gl['regstate']:
        raise Exception, 'regstate = False'

    return []
Esempio n. 29
0
def run(fetch=False):

    #####fetch data
    if fetch:
        for f in data():
            copydata(f, os.getcwd())

    #####locate the regression script
    try:
        lepath = locatescript('alma-m100-analysis-regression.py')
        print 'Script used is ', lepath
        execfile(lepath, gl, pass_on)
    except:
        print 'execution failed: ', sys.exc_info()
        raise
###return the images that will be templated and compared in future runs
    return []
Esempio n. 30
0
def run(fetch=False):

    #####fetch data
    if fetch:
        for f in data():
            copydata(f, os.getcwd())

    #####locate the regression script
    lepath = locatescript('wideband_regression.py')
    print 'Script used is ', lepath
    gl['regstate'] = True
    execfile(lepath, gl)
    print 'regstate =', gl['regstate']
    if not gl['regstate']:
        raise Exception, 'regstate = False'
    ### return the images that will be templated and compared in future runs
    return []
def run( fetch=False ):

    #####fetch data
    if fetch:
        for f in data( ):
            copydata( f, os.getcwd( ) )
    
    #####locate the regression script
    try: 
        lepath=locatescript('alma-m100-analysis-hpc-regression.py')
        print 'Script used is ',lepath
        execfile(lepath, gl, pass_on)
    except:
        print 'execution failed: ', sys.exc_info()
        raise
###return the images that will be templated and compared in future runs
    return []
Esempio n. 32
0
def run(fetch=False):

    #####fetch data
    if fetch:
        for f in data( ):
            copydata( f, os.getcwd( ) )
    
    #####locate the regression script
    lepath=locatescript('wideband_regression.py')
    print 'Script used is ',lepath
    gl['regstate']=True
    execfile(lepath, gl)
    print 'regstate =', gl['regstate']
    if not gl['regstate']:
        raise Exception, 'regstate = False'
    ### return the images that will be templated and compared in future runs
    return []; #'reg_3C286.image.tt0','reg_3C286.image.alpha','reg_3C286.image.beta']
Esempio n. 33
0
def run(fetch=False):

    #####fetch data
    if fetch:
        for f in data( ):
            copydata( f, os.getcwd( ) )
    
    #####locate the regression script
    lepath=locatescript('ngc4826_tutorial_regression.py')
    print 'Script used is ',lepath
    gl['regstate']=True
    execfile(lepath, gl)
    print 'regstate =', gl['regstate']
    if not gl['regstate']:
        raise Exception, 'regstate = False'

###return the images that will be templated and compared in future runs
    return ['ngc4826.tutorial.16apr98.src.clean.image', 'ngc4826.tutorial.16apr98.moments.mom1']
Esempio n. 34
0
def run(fetch=False):
    lepath = locatescript("h121_regression.py")
    print "Script used is ", lepath
    gl["regstate"] = True
    execfile(lepath, gl)
    print "regstate =", gl["regstate"]
    if not gl["regstate"]:
        raise Exception, "regstate = False"
    #    import lepath+'/g192_regression.py'
    ###resturn the images that will be templated and compared in future runs
    return [
        "nrao150.3mm.image",
        "h121.co10.image",
        "0224b.3mm.image",
        "h121b.co10.image",
        "h121all.3mm.image",
        "h121c.co10.image",
    ]
Esempio n. 35
0
def run():
    lepath = locatescript('ngc1333_regression.py')
    gl['regstate'] = True
    execfile(lepath, gl)
    print 'regstate =', gl['regstate']
    if not gl['regstate']:
        raise Exception, 'regstate = False'


#    import lepath+'/g192_regression.py'
###resturn the images that will be templated and compared in future runs
#   return ['src.task.image', 'src.tmom0.red', 'src.tmom0.blu','src.tmom0.all', 'src.tmom1.all' ]
    return [
        'ngc1333_regression/n1333_both.image',
        'ngc1333_regression/n1333_both.src.tmom0.red',
        'ngc1333_regression/n1333_both.src.tmom0.blu',
        'ngc1333_regression/n1333_both.src.tmom0.all',
        'ngc1333_regression/n1333_both.src.tmom1.all'
    ]
Esempio n. 36
0
def run( fetch=False ):

    #####fetch data
    if fetch:
        for f in data( ):
            copydata( f, os.getcwd( ) )
    
    #####locate the regression script
    lepath=locatescript('3c129_tutorial_regression.py')
    print 'Script used is ',lepath
    gl['regstate']=True
    execfile(lepath, gl)
    print 'regstate =', gl['regstate']
    if not gl['regstate']:
        raise Exception, 'regstate = False'

###return the images that will be templated and compared in future runs
#    return ['3C129BC.clean.image', 'at166B.3c129.image', 'at166C.3c129.image']
    return ['3C129BC.core.I']
Esempio n. 37
0
def run(fetch=False):

    #####fetch data
    if fetch:
        for f in data( ):
            copydata( f, os.getcwd( ) )
    
    #####locate the regression script
    lepath=locatescript('ngc2403_tutorial_regression.py')
    print 'Script used is ',lepath
    gl['regstate']=True
    execfile(lepath, gl)
    print 'regstate =', gl['regstate']
    if not gl['regstate']:
        raise Exception, 'regstate = False'

###return the images that will be templated and compared in future runs

    #not in repository: return ['n2403.tutorial.final.clean.image','n2403.tutorial.dirty.image']
    return ['n2403.tutorial.final.clean.image']
Esempio n. 38
0
def run(fetch=False):

    #####fetch data
    if fetch:
        for f in data():
            copydata(f, os.getcwd())

    #####locate the regression script
    lepath = locatescript('ngc2403_tutorial_regression.py')
    print 'Script used is ', lepath
    gl['regstate'] = True
    execfile(lepath, gl)
    print 'regstate =', gl['regstate']
    if not gl['regstate']:
        raise Exception, 'regstate = False'

###return the images that will be templated and compared in future runs

#not in repository: return ['n2403.tutorial.final.clean.image','n2403.tutorial.dirty.image']
    return ['n2403.tutorial.final.clean.image']
Esempio n. 39
0
def run(fetch=False):

    #####fetch data
    if fetch:
        for f in data():
            copydata(f, os.getcwd())

    #####locate the regression script
    lepath = locatescript('ngc4826_tutorial_regression.py')
    print 'Script used is ', lepath
    gl['regstate'] = True
    execfile(lepath, gl)
    print 'regstate =', gl['regstate']
    if not gl['regstate']:
        raise Exception, 'regstate = False'

###return the images that will be templated and compared in future runs
    return [
        'ngc4826.tutorial.16apr98.src.clean.image',
        'ngc4826.tutorial.16apr98.moments.mom1'
    ]