-
Notifications
You must be signed in to change notification settings - Fork 13
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
Self-documenting variable names? #28
Comments
I agree that variable names could be generally improved here and any suggestions are welcome! Keep in mind that you often end up typing these names when exploring the outputs interactively in a jupyter notebook (without cmd-line completion on table column names). Also, since you mentioned digging in the code to figure out what http://weaklensingdeblending.readthedocs.io/en/latest/output.html
|
Hi @dkirkby -
Good point. What about something like We did see your (excellent and much-appreciated) documentation, but I saw |
Good point, that is confusing! Let's change the catalog name as you proposed. |
Hi @dkirkby -
My student Husni ( @hsnee ) has been looking through your code to learn how to use it for his DESC work. While doing so, we found something a bit confusing:
You have some variables in the output tables with names like
psf_X
(for example,psf_sigm
) which seem like they are meant to include properties of the PSF. But if we look at where this quantity is set, https://github.com/LSSTDESC/WeakLensingDeblending/blob/master/descwl/analysis.py#L917, it appears that this is actually a property of the galaxy after PSF convolution. This is certainly a minor point, but it might make the outputs a bit more self-documenting if the column names and/or variable names are a bit more clear about what this quantity means.The text was updated successfully, but these errors were encountered: