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
DM-6147 #65
DM-6147 #65
Conversation
It turns out that IsrTask masks saturated pixels after the image is converted to floating point. Furthermore, the task does no masking if the saturation level is `nan`. However, the saturation level was an integer, so I changed the saturation level to a float to match the task code. Also document `nan` to mean no level in the help for the field.
These look good. The only thing I might add would be a clarification on what "suspect" means in the help description. Is that a term of art in LSST land, or is it supposed to be a general catch-all for "some undefined thing may be wrong here"? |
That is an excellent point. I will expand the explanation. For the record: it means a pixel whose value is high enough that the non-linearity correction may not work very well, and so very picky algorithms may wish to avoid using this pixel. I worry it's too granular, but HSC apparently finds it useful. |
Ah, then can we call it something other than "suspect"? Because that sounds like a more generic thing. Maybe "non-linear suspect" or something? |
Ack!!!!! |
I'm sorry about the naming complaint, but I was definitely confused by it when I saw the name, and I could see wanting to introduce a "suspect" mask in the future as a catch-all. |
I agree it's not a great name, but the mask plane is called SUSPECT so I think it's the best choice unless we rename the mask plane (and I don't want to do that unless it's really important) |
Ok. Just document the name well. |
The new description is definitely better. Thanks. |
I like SUSPECT, as we may set it for other sorts of problems too. |
If we're defining "suspect" as "pixels with values >= suspectLevel may be poorly linearized", then we shouldn't use "suspect" for other problems. If we want to use it for other problems, we should define it as "pixels whose post-ISR values are suspect for various reasons." And if we do that, the definition of suspectLevel will be meaningless, since it's not a |
I think we're using suspect as "pixels that we don't trust". One type of untrusted pixel is those above a certain level, so suspectLevel is OK. I think I'm agreeing with John, but I'm not quite sure |
Robert: could you please provide a definition of suspect/suspect level? |
That was what I initially suspected (see what I did there?) |
Does this help?
|
Thank you Robert. That is very helpful. |
Add new scalar to AmpInfoCatalog; the level above which pixels are masked as SUSPECT (or nan to not mask).
Here is the description I came up with for the amp info catalog field (pushed to the ticket):
|
I'm not sure about the "level above which" part. Robert's description above suggests that there could be other reasons for a pixel to be suspicious (I think? @RobertLuptonTheGood ). |
In support of "level above": if pixels with low signal are hard to correct accurately then we are in deep trouble, since much of our signal is faint. I suggest we keep "level above" for now. It's probably sufficient, and if not, I suspect we will need to do much more work. |
No description provided.