<div dir="ltr">The best way to figure out what's going on is to look at the detailed flags.  If you have a SourceRecord for a source you want to inspect, do:<div><br></div><div>print source.extract("modelfit_CModel_*")</div><div><br></div><div>That'll create a dict from all of the fields that correspond to CModel outputs.  You'll note that many of them are flags, and some of them will tell you what went wrong.  You can get more information on what the flags mean by doing:</div><div><br></div><div>print source.getSchema().extract("modelfit_CModel_*")</div><div><br></div><div><br></div><div>Jim</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 27, 2015 at 8:27 PM, Will Dawson <span dir="ltr"><<a href="mailto:will@dawsonresearch.com" target="_blank">will@dawsonresearch.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Is there a way to turn on verbose logging output during the measurement phase (e.g. is there a *kwarg I can pass to the function `lsst.meas.base.SingleFrameMeasurementTask`?<div><br></div><div>When I run some of the meas_model algorithms on an image I am getting out NaN’s and it looks like it is not doing anything, e.g. <span style="font-size:14px;line-height:17.000059127807617px;white-space:pre-wrap">modelfit_CModel_initial_nIter = 0</span><div><br></div><div>But I don’t get any warnings or errors, so I am just figure out where things are going wrong.</div><div><br></div><div>Thank you,</div><div>Will</div></div></div><br>_______________________________________________<br>
dm-users mailing list<br>
<a href="mailto:dm-users@lists.lsst.org">dm-users@lists.lsst.org</a><br>
<a href="https://lists.lsst.org/mailman/listinfo/dm-users" target="_blank">https://lists.lsst.org/mailman/listinfo/dm-users</a><br></blockquote></div><br></div>