In [1]:
%matplotlib inline

In [2]:
from vespa.stars import MultipleStarPopulation


WARNING:root:PyMultiNest not available; only emcee fits will be possible.
WARNING:root:progressbar not imported

In [3]:
pop = MultipleStarPopulation(1)

In [15]:
pop.orbpop.orbpop_long.scatterplot(rmax=10)



In [5]:
pop.stars.columns


Out[5]:
Index([u'H_mag', u'H_mag_A', u'J_mag', u'J_mag_A', u'K_mag', u'K_mag_A', u'Kepler_mag', u'Kepler_mag_A', u'Teff_A', u'age_A', u'g_mag', u'g_mag_A', u'i_mag', u'i_mag_A', u'logL_A', u'logg_A', u'mass_A', u'r_mag', u'r_mag_A', u'radius_A', u'z_mag', u'z_mag_A', u'H_mag_B', u'J_mag_B', u'K_mag_B', u'Kepler_mag_B', u'Teff_B', u'age_B', u'g_mag_B', u'i_mag_B', u'logL_B', u'logg_B', u'mass_B', u'r_mag_B', u'radius_B', u'z_mag_B', u'H_mag_C', u'J_mag_C', u'K_mag_C', u'Kepler_mag_C', u'Teff_C', u'age_C', u'g_mag_C', u'i_mag_C', u'logL_C', u'logg_C', u'mass_C', u'r_mag_C', u'radius_C', u'z_mag_C', u'distance', u'distmod'], dtype='object')

In [16]:
import isochrones

In [17]:
isochrones.starmodel?
import vespa

In [18]:
import vespa

In [20]:
a = vespa.stars.BGStarPopulation()

In [21]:
a


Out[21]:
<vespa.stars.populations.BGStarPopulation at 0x10d02d790>

In [23]:
a.RV()


---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-23-3b3a3a81fd8b> in <module>()
----> 1 a.RV()

/Users/ganeshravichandran/anaconda/lib/python2.7/site-packages/VESPA-0.2.5-py2.7-macosx-10.5-x86_64.egg/vespa/stars/populations.pyc in RV(self)
    208         Radial velocity difference between "primary" and "secondary" (exact meaning varies)
    209         """
--> 210         return self.orbpop.RV
    211 
    212     def dRV(self,dt):

AttributeError: 'NoneType' object has no attribute 'RV'

In [ ]:


In [ ]: