isochrones icon indicating copy to clipboard operation
isochrones copied to clipboard

Docs clarification

Open bmorris3 opened this issue 6 years ago • 1 comments

Hi @timothydmorton,

I see in the docstring for StarModel that the input stellar density prior should be in [g/cc], but in the example I'm running it seems as though the density returned by

mod.derived_samples['density']

is given in units of [solar density]. What are the appropriate units for the samples returned by this expression?

Thanks!

bmorris3 avatar Jul 29 '19 07:07 bmorris3

It should be in g/cc, as the derived samples should be interpolating this column: https://github.com/timothydmorton/isochrones/blob/666164387bfbbffece1ca0bf03a72a48a3dc9d89/isochrones/models.py#L86 Solar mean density is pretty close to 1 g/cc, though; can you show me what you are finding?

timothydmorton avatar Oct 15 '19 20:10 timothydmorton