LSSTDESC / rail_lephare

RAIL wrapper to the LePHARE photometric redshift code
MIT License
1 stars 0 forks source link

Fix density plot in goldenspike notebook #16

Open raphaelshirley opened 6 months ago

raphaelshirley commented 6 months ago

While the goldenspike notebook is running the redshift distribution density plot is not showing. The restimator appears to be working and the histogram of output photoz looks good but the density plot has no data. Do we need to specify a ked kernel or add some toher functionality to get this working?

raphaelshirley commented 5 months ago

We think this is caused by nans in the pdfs. We may replace nans with zeros or it could be fixed by performing a nan safe stack in RAIL.

raphaelshirley commented 5 months ago

lephare should not be capable of returning nans so it may be an issue with RAIL setting pdf values to nan.