-
Notifications
You must be signed in to change notification settings - Fork 3
DM-53414: Create analysis_tools plot of DiaObjects with few detections #459
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
base: main
Are you sure you want to change the base?
Conversation
b28c213 to
db7e242
Compare
Scatter plot alpha, edgecolor, and point size are now configurable.
db7e242 to
6a02871
Compare
jrmullaney
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some suggestions. Nothing major.
| bandText += band + ", " | ||
| bandsText = f", Bands: {bandText[:-2]}" | ||
| infoText = f"\n{run}{datasetsUsed}{tableType}{dataIdText}{bandsText}" | ||
| if (photocalibDataset != "None") or (astroDataset != "None"): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
photocalibDataset and astroDataset are hard-coded to always be "None" and "None"! Clearly this was added as some kind of to-do that was never...done. I think it needs a ticket making to either implement or get-rid.
But let's not hold this merge up for that.
| ) | ||
|
|
||
| doBinning = Field[bool]( | ||
| doc="Use nPointBinThresh to implement binning.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| doc="Use nPointBinThresh to implement binning.", | |
| doc="Spatially bin the data? Extreme outliers can be shown using `showExtremeOutliers`.", |
| nPointBinThresh=nPointBinThresh, | ||
| isSorted=True, | ||
| showExtremeOutliers=showExtremeOutliers, | ||
| scatPtSize=self.scatPtSize, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| scatPtSize=self.scatPtSize, | |
| scatPtSize=self.markerSize, |
| default=1.0, | ||
| ) | ||
|
|
||
| scatPtSize = Field[float]( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| scatPtSize = Field[float]( | |
| markerSize = Field[float]( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know it's down as scatPtSize in plotProjectionWithBinning, but that's an awful name and I want to change it to markerSize throughout. I'll do that on a different ticket, though.
| @@ -0,0 +1,54 @@ | |||
| # This file is part of analysis_tools. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think you need to make a new task. You could probably re-factor ObjectTableTractAnalysis, which also reads-in a tract-level data product. You'd just specify the different inputName in the pipeline task.
I've written a GenericTableAnalysis task for this kind of thing, but I've just not got round to merging it.
But, for now, if you want to keep this, then that's fine.
I think it's time that analysis_tools could benefit from a bit of an audit anyway.
Plus a few improvements to SkyPlot that maintain current default behavior.