POSYDON-code / POSYDON

POSYDON is a next-generation single and binary-star population synthesis code incorporating full stellar structure and evolution modeling with the use of MESA.
BSD 3-Clause "New" or "Revised" License
25 stars 19 forks source link

IFinterpolator: sanitize/constraint output comment out #347

Closed maxbriel closed 5 days ago

maxbriel commented 5 days ago

The IFinterpolator has the possibility to sanitize its output to make sure it produces physical results.

While it's on for the testing of the interpolator, it is commented out for the evaluate function, which is used in the population synthesis. See here: https://github.com/POSYDON-code/POSYDON/blob/191f056e4fa35e9b63324cf8fffba5dfe03486c0/posydon/interpolation/IF_interpolation.py#L840-L844

maxbriel commented 5 days ago

Turns out that evaluate_mat calls the test_interpolate function, where it sanitizes the output.