当前位置: 首页>>代码示例>>Python>>正文


Python AIPSTask.nplots方法代码示例

本文整理汇总了Python中AIPSTask.AIPSTask.nplots方法的典型用法代码示例。如果您正苦于以下问题:Python AIPSTask.nplots方法的具体用法?Python AIPSTask.nplots怎么用?Python AIPSTask.nplots使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在AIPSTask.AIPSTask的用法示例。


在下文中一共展示了AIPSTask.nplots方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: runvplot

# 需要导入模块: from AIPSTask import AIPSTask [as 别名]
# 或者: from AIPSTask.AIPSTask import nplots [as 别名]
def runvplot(indata, sources, stokes, timer, anten, basel, bif, eif, bchan, echan, docalib, gainuse, flagver, doband, bpver, aparm, bparm, refant, dotv, nplots):
	vplot = AIPSTask('VPLOT')
	vplot.indata = indata
	vplot.sources[1:] = sources
	vplot.stokes = stokes
	vplot.timerang[1:] = timer
	vplot.antennas[1:] = anten
	vplot.baseline[1:] = basel
	vplot.bchan = bchan
	vplot.echan = echan
	vplot.avgchan = 1
	vplot.bif = bif
	vplot.eif = eif
	vplot.docalib = docalib
	vplot.gainuse = gainuse
	vplot.flagver = flagver
	vplot.doband = doband
	vplot.bpver = bpver
	vplot.aparm[1:] = aparm
	vplot.bparm[1:] = bparm
	vplot.crowded = 0
	vplot.refant = refant
	vplot.dotv = dotv
	vplot.xinc = 1
	vplot.nplots = nplots
	vplot.go()
开发者ID:h-ramp,项目名称:pipeline,代码行数:28,代码来源:eMERLIN_tasks.py

示例2: runsnplt

# 需要导入模块: from AIPSTask import AIPSTask [as 别名]
# 或者: from AIPSTask.AIPSTask import nplots [as 别名]
def runsnplt(indata, inext, invers, sources, nplots, optype, dotv):
	snplt = AIPSTask('SNPLT')
	snplt.indata = indata
	snplt.inext= inext
	snplt.invers = invers
	snplt.sources[1:] = sources
	snplt.nplots = nplots
	snplt.optype = optype
	snplt.dotv = dotv
	snplt.go()
开发者ID:h-ramp,项目名称:pipeline,代码行数:12,代码来源:eMERLIN_tasks.py

示例3: runquickpossm

# 需要导入模块: from AIPSTask import AIPSTask [as 别名]
# 或者: from AIPSTask.AIPSTask import nplots [as 别名]
def runquickpossm(indata, source):
	possm = AIPSTask('POSSM')
	possm.indata = indata
	possm.source[1:] = source
	possm.aparm[9] = 1
	possm.nplots = 6
	possm.solint = 30 # plot every 30min
	possm.stokes = 'HALF'
	possm.flagver = 0
	possm.go()
开发者ID:h-ramp,项目名称:pipeline,代码行数:12,代码来源:eMERLIN_tasks.py

示例4: runpossm

# 需要导入模块: from AIPSTask import AIPSTask [as 别名]
# 或者: from AIPSTask.AIPSTask import nplots [as 别名]
def runpossm(indata, sources, timer, anten, basel, aparm, bparm, bif, eif, docalib, gainuse, flagver, stokes, doband, bpver, codetype, solint, nplots, dotv, freqid):
	possm = AIPSTask('POSSM')
	possm.indata = indata
	possm.sources[1:] = sources
	possm.timer[1:] = timer
	possm.aparm[1:] = aparm[1:]
	possm.aparm[9] = 1
	possm.bparm[1:] = bparm[1:]
	possm.antennas[1:] = anten
	possm.baseline[1:] = basel
	possm.bif =  bif
	possm.eif = eif
	possm.docalib = docalib
	possm.gainuse = gainuse
	possm.flagver = flagver
	possm.stokes = stokes
	possm.doband = doband
	possm.bpver = bpver
	possm.codetype = codetype
	possm.solint = solint
	possm.nplots = nplots
	possm.dotv = dotv
	possm.freqid = 1
	possm.go()
开发者ID:h-ramp,项目名称:pipeline,代码行数:26,代码来源:eMERLIN_tasks.py

示例5:

# 需要导入模块: from AIPSTask import AIPSTask [as 别名]
# 或者: from AIPSTask.AIPSTask import nplots [as 别名]
            calib.aparm[1:] = 3, 0, 0, 0, 1, 0, 0, 0
        if combinIFLLRR == 3:
            calib.aparm[1:] = 3, 0, 1, 0, 0, 0, 0, 0
        if combinIFLLRR == 4:
            calib.aparm[1:] = 3, 0, 1, 0, 1, 0, 0, 0
        calib.soltype = "L1"
        calib.solmode = APhas
        calib.snver = i
        calib.go()

        snplt.indata = uvdata
        snplt.indisk = indisk
        snplt.inext = "SN"
        snplt.pixrange[1:] = -180, 180
        snplt.invers = i
        snplt.nplots = 9
        snplt.optype = "PHAS"
        if combinIFLLRR == 1:
            snplt.opcode = ""
        if combinIFLLRR == 2:
            snplt.opcode = "ALIF"
        if combinIFLLRR == 3:
            snplt.opcode = "ALST"
        if combinIFLLRR == 4:
            snplt.opcode = "ALSI"
        snplt.dotv = -1
        snplt.go()

        clcal.indata = uvdata
        clcal.interpol = "AMBG"
        clcal.snver = i
开发者ID:jradcliffe5,项目名称:multi_self_cal,代码行数:33,代码来源:multi_source_self_cal_v1.2.py


注:本文中的AIPSTask.AIPSTask.nplots方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。