ApJdataFrames
012: Allers2007Title
: New Low‐Mass Stars and Brown Dwarfs with Disks in Lupus
Authors
: P R Allen, Kevin L Luhman, Myers, P. C., S T Megeath, Lori E Allen, L Hartmann, and G G Fazio
Data is from this paper:
http://iopscience.iop.org/0004-637X/655/2/1095/fulltext/
In [1]:
%pylab inline
import seaborn as sns
In [2]:
import warnings
warnings.filterwarnings("ignore")
In [3]:
import pandas as pd
In [4]:
names = ["2MASS","Other_Name","J - H","H - Ks","Ks","[3.6]","[4.5]","[5.8]","[8.0]","[24]"]
tbl1 = pd.read_csv("http://iopscience.iop.org/0004-637X/655/2/1095/fulltext/70464.tb1.txt",
sep='\t', names=names, na_values='\ldots')
tbl1.head()
Out[4]:
In [5]:
names = ["2MASS","Spectral_Type","Membership Evidence","J - H","H - Ks","Ks","[3.6]","[4.5]","[5.8]","[8.0]","[24]"]
tbl2 = pd.read_csv("http://iopscience.iop.org/0004-637X/655/2/1095/fulltext/70464.tb2.txt",
sep='\t', names=names, na_values='\ldots')
tbl2.head()
Out[5]:
In [6]:
names = ["ID","J - H","H - Ks","Ks","[3.6]","[4.5]","[5.8]","[8.0]","[24]"]
tbl3 = pd.read_csv("http://iopscience.iop.org/0004-637X/655/2/1095/fulltext/70464.tb3.txt",
sep='\t', names=names, na_values='\ldots')
tbl3.head()
Out[6]:
In [7]:
sns.set_context("notebook", font_scale=1.5)
In [8]:
plt.plot(tbl1["H - Ks"], tbl1["J - H"], '.', label = 'Known Members')
plt.plot(tbl2["H - Ks"], tbl2["J - H"], 'o', label = 'New Members')
plt.plot(tbl3["H - Ks"], tbl3["J - H"], '*', label = 'Candidates', )
plt.ylabel(r"$J-H$")
plt.xlabel(r"$H-K_S$")
plt.title("Allen et al. 2007 Lupus III members")
plt.legend(loc='best')
Out[8]:
The end.