コード例 #1
0
ファイル: leo2pt_test.py プロジェクト: ajm-asiaa/New-casa
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
ファイル: imagetest.py プロジェクト: radio-astro/casa
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
ファイル: cvel_test2.py プロジェクト: ahalester/casa-testing
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
ファイル: ngc5921redux.py プロジェクト: ajm-asiaa/New-casa
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
ファイル: l02d.py プロジェクト: ahalester/casa-testing
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
ファイル: ngc5921uvcontsub2.py プロジェクト: radio-astro/casa
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
ファイル: sim_m51c.py プロジェクト: ahalester/casa-testing
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
ファイル: alma-m100-sd.py プロジェクト: keflavich/casa
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
ファイル: g192redux.py プロジェクト: ajm-asiaa/New-casa
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
ファイル: sim_testcube.py プロジェクト: ajm-asiaa/New-casa
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
ファイル: cvel_test2.py プロジェクト: ajm-asiaa/New-casa
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
ファイル: 3C391polim.py プロジェクト: ahalester/casa-testing
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
ファイル: 3C391polim.py プロジェクト: ajm-asiaa/New-casa
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
ファイル: sim_testcomp.py プロジェクト: ajm-asiaa/New-casa
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
ファイル: sim_ppdisk.py プロジェクト: radio-astro/casa
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 []
コード例 #31
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-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
ファイル: wideband.py プロジェクト: ahalester/casa-testing
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
ファイル: third4826.py プロジェクト: ahalester/casa-testing
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
ファイル: ngc1333.py プロジェクト: ajm-asiaa/New-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'
    ]
コード例 #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
ファイル: ngc2403.py プロジェクト: ahalester/casa-testing
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
ファイル: ngc2403.py プロジェクト: ajm-asiaa/New-casa
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
ファイル: third4826.py プロジェクト: ajm-asiaa/New-casa
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'
    ]