This PR addresses Issue #166 and includes minor modifications to lsst_stack_deblender.ipynb so that it runs with version w_2019_06 of the stack. Changes were made in configuring the SingleFrameMeasurementTask, where the line measureConfig.slots.instFlux = None resulted in an attribute error:
AttributeError: lsst.meas.base.baseMeasurement.SourceSlotConfig has no attribute instFlux
and subsequently running table = SourceCatalog.Table.make(schema) resulted in:
NotFoundError:
File "src/table/Schema.cc", line 226, in lsst::afw::table::SchemaItem<T> lsst::afw::table::detail::SchemaImpl::find(const string&) const [with T = double; std::string = std::basic_string<char>]
Field or subfield with name 'base_GaussianFlux_instFlux' not found with type 'D'. {0}
lsst::pex::exceptions::NotFoundError: 'Field or subfield with name 'base_GaussianFlux_instFlux' not found with type 'D'.
The notebook is now running without any issues, but I'm not sure whether my 'fix' is the correct way to proceed. If @fred3m or anyone else has any suggestions or comments it would be much appreciated!
This PR addresses Issue #166 and includes minor modifications to
lsst_stack_deblender.ipynb
so that it runs with versionw_2019_06
of the stack. Changes were made in configuring theSingleFrameMeasurementTask
, where the linemeasureConfig.slots.instFlux = None
resulted in an attribute error:AttributeError: lsst.meas.base.baseMeasurement.SourceSlotConfig has no attribute instFlux
and subsequently running
table = SourceCatalog.Table.make(schema)
resulted in:The notebook is now running without any issues, but I'm not sure whether my 'fix' is the correct way to proceed. If @fred3m or anyone else has any suggestions or comments it would be much appreciated!