ApJdataFrames
011: Allers2007Title
: 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
In [2]:
import warnings
warnings.filterwarnings("ignore")
In [3]:
import pandas as pd
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]:
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]:
In [ ]:
The end.