ApJdataFrames 011: Allers2007

Title: Characterizing Young Brown Dwarfs Using Low-Resolution Near-Infrared Spectra
Authors: K. N. Allers, D T Jaffe, Kevin L Luhman, Michael C Liu, J C Wilson, M F Skrutskie, M Nelson, D E Peterson, J D Smith, and M C Cushing

Data is from this paper:
http://iopscience.iop.org/0004-637X/657/1/511/fulltext/70211.html


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 2 - Physical Properties of sources


In [4]:
names = ["Source","RA_J2000","DEC_J2000","SpT","A_V","log_L_bol","T_eff","Mass_CBAH00","Age_CBAH00","Mass_DM97","Age_DM97"]

tbl2 = pd.read_csv("http://iopscience.iop.org/0004-637X/657/1/511/fulltext/70211.tb2.txt", 
                   sep='\t', names=names, na_values='\ldots')
tbl2["L_bol"] = 10.0**tbl2.log_L_bol.values
tbl2.head()


Out[4]:
Source RA_J2000 DEC_J2000 SpT A_V log_L_bol T_eff Mass_CBAH00 Age_CBAH00 Mass_DM97 Age_DM97 L_bol
0 Cha 1257-7701 12 57 58.7 -77 01 19.5 M9 4.0 -3.1 2400 30 30 20 15 0.000794
1 Cha 1258-7709 12 58 06.7 -77 09 09.5 M6 10.4 -1.3 2990 90 1 140 3 0.050119
2 Cha 1305-7739 13 05 40.8 -77 39 58.2 L1 3.0 -3.1 2200 15 10 NaN NaN 0.000794
3 Oph 1622-2405B 16 22 25.2 -24 05 15.6 M8 1.0 -2.6 2710 35 20 30 10 0.002512
4 Oph 1622-2405A 16 22 25.2 -24 05 13.7 M7 0.0 -2.4 2880 65 20 55 15 0.003981

In [5]:
sns.set_context("notebook", font_scale=1.5)

In [10]:
plt.plot(tbl2.T_eff, tbl2.L_bol, '.')
#plt.errorbar([2400.0]*upper_limits.sum(), tbl6.L_bol[upper_limits], xerr=0.0001, yerr=None, xlolims=True)

plt.ylabel(r"$L/L_{sun}$")
plt.xlabel(r"$T_{eff} (K)$")
plt.yscale("log")
plt.title("Allers et al. 2007 Ophiuchus and Cha II")
plt.xlim(5000,2000)
plt.ylim(10**-4, 10**2)


Out[10]:
(0.0001, 100)

In [ ]:

The end.