[LSST|dm-users 686] Re: Is there a verbose measurement argument?

Jim Bosch jbosch at astro.princeton.edu
Wed May 27 17:58:12 PDT 2015


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:

print source.extract("modelfit_CModel_*")

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:

print source.getSchema().extract("modelfit_CModel_*")


Jim



On Wed, May 27, 2015 at 8:27 PM, Will Dawson <will at dawsonresearch.com>
wrote:

> 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`?
>
> 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. modelfit_CModel_initial_nIter
> = 0
>
> But I don’t get any warnings or errors, so I am just figure out where
> things are going wrong.
>
> Thank you,
> Will
>
> _______________________________________________
> dm-users mailing list
> dm-users at lists.lsst.org
> https://lists.lsst.org/mailman/listinfo/dm-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lsst.org/pipermail/dm-users/attachments/20150527/a579a28b/attachment.html>


More information about the dm-users mailing list