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

U/yusra/dm 3515 #13

Merged
merged 2 commits into from May 2, 2016
Merged

U/yusra/dm 3515 #13

merged 2 commits into from May 2, 2016

Conversation

djreiss
Copy link
Contributor

@djreiss djreiss commented Apr 29, 2016

No description provided.

@register("ip_diffim_ClassificationDipole")
class ClassificationDipolePlugin(SingleFramePlugin):
"""
A binary measure of the whether a diasource is a dipole.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe better: "A plugin to classify whether a diaSource is a dipole."

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was just copied pasted. I will update.

DipoleMeasurement exists to run a method to
classify dipoles after run(). This classification conforms
to our current measurent framework as a plugin here.
- Change field names in schema to:
    "ip_diffim_ClassificationDipole_value"
    "ip_diffim_ClassificationDipole_flag"
    (modeled after ClassificationExtendedness)
- Make no changes to algorithm that sets _value
Because the classification method was moved to a plugin,
the special run() method which runs classification as an afterburner
is no longer necessary. DipoleMeasurementTask is now just a
SingleFrameMeasurementTask with a default configuration enabling
the diffim-specific plugins.
@yalsayyad yalsayyad merged commit 0739965 into master May 2, 2016
@ktlim ktlim deleted the u/yusra/DM-3515 branch August 25, 2018 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants