ApJdataFrames 012: Allers2007

Title: 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


Populating the interactive namespace from numpy and matplotlib

In [2]:
import warnings
warnings.filterwarnings("ignore")

In [3]:
import pandas as pd

Table 1 - Previously known members of Lupus


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]:
2MASS Other_Name J - H H - Ks Ks [3.6] [4.5] [5.8] [8.0] [24]
0 J16074959-3904287 Lupus 3 28 0.64 0.25 10.56 10.35 \pm 0.03 10.27 \pm 0.03 10.25 \pm 0.03 10.26 \pm 0.03 NaN
1 J16075230-3858059 Sz 95 0.73 0.27 10.01 NaN 9.38 \pm 0.03 9.13 \pm 0.03 NaN 6.12 \pm 0.04
2 J16075996-3857510 TTS 106 0.69 0.25 8.70 8.59 \pm 0.03 8.55 \pm 0.03 8.57 \pm 0.03 8.57 \pm 0.04 8.49 \pm 0.09
3 J16081096-3910459 F304 0.62 0.15 9.61 9.50 \pm 0.03 9.49 \pm 0.03 9.47 \pm 0.03 9.48 \pm 0.04 9.27 \pm 0.11
4 J16081263-3908334 HBC 615 0.78 0.39 8.96 7.69 \pm 0.03 7.25 \pm 0.03 6.97 \pm 0.03 6.38 \pm 0.03 4.21 \pm 0.03

Table 2 - New Members of Lupus 3


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]:
2MASS Spectral_Type Membership Evidence J - H H - Ks Ks [3.6] [4.5] [5.8] [8.0] [24]
0 J16073773-3921388 M5.75 e, Na K, Fe H, ex 0.67 0.44 12.13 11.54 \pm 0.03 11.18 \pm 0.03 10.87 \pm 0.03 10.13 \pm 0.04 7.77 \pm 0.07
1 J16080017-3902595 M5.25 Li, Na K, Fe H, ex 0.69 0.38 11.07 10.57 \pm 0.03 10.19 \pm 0.03 9.92 \pm 0.03 9.29 \pm 0.04 NaN
2 J16081497-3857145 M4.75 Na K, Fe H, ex 1.01 1.07 13.13 11.93 \pm 0.03 11.29 \pm 0.03 10.79 \pm 0.03 10.24 \pm 0.04 7.56 \pm 0.07
3 J16083733-3923109 M7.75 e, Na K, Fe H, ex, A_{V} 0.93 0.41 13.83 12.72 \pm 0.03 12.41 \pm 0.05 12.10 \pm 0.04 11.49 \pm 0.06 6.81 \pm 0.04
4 J16085373-3914367 M5.5 e, Na K, Fe H, ex, A_{V} 1.53 0.92 12.52 11.45 \pm 0.03 11.03 \pm 0.03 10.71 \pm 0.03 10.11 \pm 0.04 NaN

Table 3 - Candidate members of Lupus 3


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]:
ID J - H H - Ks Ks [3.6] [4.5] [5.8] [8.0] [24]
0 2MASS J16075475-3915446 1.09 1.66 14.45 12.54 \pm 0.03 11.74 \pm 0.03 11.14 \pm 0.03 10.64 \pm 0.04 7.23 \pm 0.05
1 2MASS J16080175-3912316 1.34 0.81 14.25 13.43 \pm 0.03 13.07 \pm 0.04 12.62 \pm 0.05 11.90 \pm 0.08 8.39 \pm 0.10
2 2MASS J16080618-3912225 1.50 0.86 7.67 6.81 \pm 0.03 6.51 \pm 0.03 6.28 \pm 0.03 5.75 \pm 0.03 4.06 \pm 0.03
3 IRAC J16082811-3913098 NaN NaN NaN 12.07 \pm 0.03 11.90 \pm 0.03 11.64 \pm 0.03 10.78 \pm 0.04 7.85 \pm 0.06
4 IRAC J16083010-3922592 NaN NaN NaN 15.18 \pm 0.05 14.66 \pm 0.04 13.88 \pm 0.08 12.69 \pm 0.09 8.79 \pm 0.09

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]:
<matplotlib.legend.Legend at 0x112908590>

The end.