예제 #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 []
예제 #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']
예제 #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 []
예제 #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 []
예제 #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']
예제 #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' ]
예제 #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']
예제 #8
0
파일: ggtau.py 프로젝트: keflavich/casa
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']
예제 #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"]
예제 #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 []
예제 #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']
예제 #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']
예제 #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 []
예제 #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 []
예제 #15
0
파일: ngc1333.py 프로젝트: keflavich/casa
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']
예제 #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 []
예제 #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']
예제 #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']
예제 #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 []
예제 #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 []
예제 #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'
    ]
예제 #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'
    ]
예제 #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'
    ]
예제 #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 []
예제 #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 []
예제 #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'
    ]
예제 #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",
    ]
예제 #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 []
예제 #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 []
예제 #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 []
예제 #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']
예제 #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']
예제 #34
0
파일: h121.py 프로젝트: radio-astro/casa
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",
    ]
예제 #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'
    ]
예제 #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']
예제 #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']
예제 #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']
예제 #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'
    ]