Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tickets/dm 6969 #41

Merged
merged 12 commits into from Jul 21, 2016
Merged

Tickets/dm 6969 #41

merged 12 commits into from Jul 21, 2016

Conversation

r-owen
Copy link
Contributor

@r-owen r-owen commented Jul 21, 2016

No description provided.

@r-owen r-owen force-pushed the tickets/DM-6969 branch 2 times, most recently from f291fc2 to fc933cf Compare July 21, 2016 19:57
r-owen added 12 commits July 21, 2016 12:57
Fixed outdated schema documentation in LoadReferenceObjectsTask:
- <filterName>_camFlux[Sigma] instead of <filterName>_camera_flux[Sigma]
- camFlux[Sigma] instead of default_flux[Sigma]
Fixed reported return type of loadPixelBox from a ref catalog
to a struct containing refCat and fluxField
...into namespace lsst.meas.algorithms, for easier access
Changed LoadIndexedReferenceObjectConfig to inherit from
LoadReferenceObjectsConfig instead of Config, since parts
of the standard loader need those fields.
Test that cls.comp_cats includes at least one non-empty catalog
Document cls.comp_cats
Use cls.comp_cats.iter_items() to avoid messy lookups
Add flux aliases to reference catalog returned by
LoadIndexedReferenceObjectsTask
HtmIndexerTask used ctrCoord.getRa and getDec, which are not
reliably present, depending on whether the object is passed
in as a Coord or a subclass (even if ctrCoord is actually a pointer
to an Fk5Coord or IcrsCoord, it may show up as a pointer to Coord).
So use getLongitude and getLatitude, instead.
Make sure the catalog returned by LoadIndexedReferenceObjectsTask
is contiguous (formerly it was not if loaded from multiple trixels)
Add missing "centroid" and "hasCentroid" fields to the catalog
returned by LoadIndexedReferenceObjectsTask. These are initialized
to ("nan", "nan"), and False, respectively
We usually make both the task and its config available in __all__
Also fix the name: LoadIndexedReferenceObjectsConfig
instead of LoadIndexedReferenceObjectConfig
Fix documentation of LoadIndexedReferenceObjectsTask.loadSkyCircle
to say that an empty catalog is returned (rather than None)
if no sources found.
Update tests/testHtmIndex.py accordingly.
Changed search_radius to an angle to simplify tests/testHtmIndex.py
and added some missing doc strings
@r-owen r-owen merged commit 6430576 into master Jul 21, 2016
@ktlim ktlim deleted the tickets/DM-6969 branch August 25, 2018 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant