本文整理汇总了Python中atpy.Table.VELOCITY_1方法的典型用法代码示例。如果您正苦于以下问题:Python Table.VELOCITY_1方法的具体用法?Python Table.VELOCITY_1怎么用?Python Table.VELOCITY_1使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类atpy.Table
的用法示例。
在下文中一共展示了Table.VELOCITY_1方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: Table
# 需要导入模块: from atpy import Table [as 别名]
# 或者: from atpy.Table import VELOCITY_1 [as 别名]
# Chris Fuller, April 2014
#import mods
from atpy import Table
import numpy as np
from os.path import join as pj
import matplotlib.pyplot as plt
from lmfit import minimize, Parameters, report_fit
from matplotlib.ticker import MaxNLocator
#Inputs
folder = "/Users/chrisfuller/Dropbox/phd/herchel/coma/final_outputs/" # input/output folder
fname = 'coma_supercluster_cal12.fits' #input name
cat = Table(pj(folder,fname))
cat.VELOCITY_1 = cat.VELOCITY_1/1000.0
if False:
cat = cat.where((cat.RADIUS_VIR > 1.0))
types = ['late', 'inter', 'early']
colours = ['b', 'g', 'r']
sigmas = ['SIGMA1', 'SIGMA5', 'SIGMA10']
sig_labs = ['$\log_{10}$($\Sigma_{1}$) (Mpc$^{-2}$)', '$\log_{10}$($\Sigma_{5}$) (Mpc$^{-2}$)', '$\log_{10}$($\Sigma_{10}$) (Mpc$^{-2}$)']
fig, subs = plt.subplots(nrows=3, ncols=1, sharex=True, sharey=True, squeeze=True, figsize = (8,9), facecolor='w',edgecolor='w')
for j in range(3):
sub = subs[j]