argiopetech / base

Bayesian Analysis for Stellar Evolution
http://webfac.db.erau.edu/~vonhippt/base9/
11 stars 4 forks source link

sampleWDMass shouldn't print a .membership file if there is only 1 star #25

Closed tedvh closed 5 years ago

tedvh commented 11 years ago

Right now, sampleWDMass produces a .membership file with 0.0, followed by zillions of nans if there is only 1 star in the photometry data file. In this case, membership is presumed, so the calculations that lead to this file and the file itself should not be generated.