ApJdataFrames
Luhman1999Title
: Low-Mass Star Formation and the Initial Mass Function in the ρ Ophiuchi Cloud Core
Authors
: K. L. Luhman and G.H. Rieke
Data is from this paper:
http://iopscience.iop.org/0004-637X/525/1/440/fulltext/
In [1]:
import warnings
warnings.filterwarnings("ignore")
In [2]:
from astropy.io import ascii
In [3]:
import pandas as pd
In [4]:
names = ["BKLT","Other ID","RA_1950","DEC_1950","SpT_prev","SpT_IR","SpT_adopted",
"Teff","AJ","Lbol","J-H","H-K","K","rK","BrGamma"]
tbl1 = pd.read_csv("http://iopscience.iop.org/0004-637X/525/1/440/fulltext/40180.tb1.txt",
sep="\t", na_values="\ldots", skiprows=1, names=names)
tbl1.RA_1950 = "16 "+tbl1.RA_1950
tbl1.DEC_1950 = "-24 "+tbl1.DEC_1950
tbl1.head()
Out[4]:
In [5]:
len(tbl1)
Out[5]:
In [6]:
! mkdir ../data/Luhman1999
In [7]:
tbl1.to_csv("../data/Luhman1999/tbl1.csv", index=False, sep='\t')
The end