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

add functions for converting magnitudes to counts, getting noise levels for images, etc. #15

Closed
beckermr opened this issue Sep 27, 2021 · 8 comments · Fixed by #24
Closed

Comments

@beckermr
Copy link

No description provided.

@beckermr
Copy link
Author

cc @esheldon

@aboucaud
Copy link
Collaborator

Sounds like a set of useful functions related to pure survey numbers. Thanks for suggesting :)

You were mentioning that these are already implemented somewhere. Is this in https://github.com/LSSTDESC/WeakLensingDeblending ?

@beckermr
Copy link
Author

There are functions in there, but IDK if they are correct for the adopted units / conventions here:

https://github.com/LSSTDESC/WeakLensingDeblending/blob/master/descwl/survey.py#L125

@beckermr
Copy link
Author

There is also lots of stuff done in the init here: https://github.com/LSSTDESC/WeakLensingDeblending/blob/master/descwl/survey.py#L47

Some of that appears useful.

@beckermr
Copy link
Author

@aboucaud
Copy link
Collaborator

aboucaud commented Sep 27, 2021

Right, so for a given survey you'd like

  • a method that takes an AB mag and returns the number of counts
  • a method that takes a sky_brightness and returns the mean_sky_background

Am I correct ?

@beckermr
Copy link
Author

@esheldon should confirm, but I think this is the whole thing.

@esheldon
Copy link

Yes. In addition, we would also like to know what a typical expected background is, say on a moonless night. This varies a lot for different sites.

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 a pull request may close this issue.

3 participants