Adding Stellar Data to STELLAB

Contributors: Christian Ritter

In construction


In [1]:
%matplotlib nbagg
import matplotlib.pyplot as plt
import stellab as st
path_to_nupycee=st.global_path

The goal is to add your data to STELLAB to produce plots such as the plot below:


In [2]:
s1=st.stellab()
xaxis='[Fe/H]'
yaxis='[O/Fe]'
s1.plot_spectro(fig=1,xaxis=xaxis,galaxy='carina')
plt.xlim(-4.5,1),plt.ylim(-1.5,1.5)


Out[2]:
((-4.5, 1), (-1.5, 1.5))

Adding your own data.


In [3]:
from IPython.display import YouTubeVideo
YouTubeVideo("R3_EZlXTFBo")


Out[3]:

In [3]:
s1_new=st.stellab()

In [4]:
# available data
# s1_new.list_ref_papers()

In [5]:
s1_new.plot_spectro(fig=2,yaxis=yaxis,
                obs=['stellab_data/carina_data/Fabrizio_et_al_2015_stellab'],show_err=True)
plt.xlim(-4,0),plt.ylim(-2,2)


Out[5]:
((-4, 0), (-2, 2))

Uploading data

coming soon...


In [6]:
#from IPython.display import YouTubeVideo
#YouTubeVideo("Pi9NpxAvYSs")

In [ ]: