<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, May 12, 2015 at 8:26 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">OK it looks like some of what I may want are in meas_modelfit, meas_extensions_shapeHSM, and meas_extesions_photometryKron repositories. It looks like meas_modelfit is installed with a common `eups disturb install last_apps`.<div><br></div><div>— Are there eups distributions for the extensions or should I clone the github repositories and associate them with the loadLSST.bash some how?</div><div><br></div></div></blockquote><div><br></div><div>Hmm, I'd have thought there were, but maybe they never got added to the main build after we got them working again recently.</div><div><br></div><div>If you clone the GitHub repos, you should be able to set them up just by doing "setup -r . -t <some-tag>" while in the cloned directory (where some-tag is the tag you used to install the stack).  You can then run "scons opt=3 install declare" to install it and declare it so you can set it up by name and version later.</div><div><br></div><div>And if you have any trouble with those repos, Perry Gee (who I happen to know is somewhat local for you) would probably be a good resource in getting them working, as he was the one who did a lot of the work in getting them working again recently.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div></div><div>I also realized that I should be using lsst.meas.base instead of lsst.meas.algorithms and thus SingleFrameMeasurementConfig rather than SourceMeasurementConfig (a previous suggestion by Jim makes sense now). And on a related note I guess I should something like:</div><div><br></div><div>measureConfig = SingleFrameMeasurementConfig()</div><div>measureConfig.algorithms.names = [‘base_SdssShape’]<br><div><br></div><div>where ‘base_SdssShape’ has been used rather than ‘shape.sdss’.</div><div><br></div><div>— Is all of this correct?</div></div></div></blockquote><div><br></div><div>Yup, all correct.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div>— If so then what algorithms.names should I use if I want to specify meas_modelfit or one of the extensions? I don’t a plugins.py file in these repositories like I do in meas_base.</div><div><br></div></div></div></blockquote><div><br></div><div>If you import those packages into Python, they'll register themselves in the list of available algorithms, and then you can get the complete list (and its configuration) by inspecting an instance of SingleFrameMeasurementConfig (i.e. look in the .plugins dict).</div><div><br></div><div>Jim</div><div><br></div></div></div></div>