Skip to content

Partially saturated pixels flagged as DO_NOT_USE but not as SATURATED? #515

Description

@schlafly

I'm concerned by the kind of flagging happening in this line:

flagarray = (partial_sat * dnu).astype(np.uint32)

I understand what is happening to be:

  • saturated resultants are flagged as saturated, but not as do not use
  • partially saturated resultants (i.e., some of the reads are saturated, others aren't) are flagged as DO_NOT_USE, but not as SATURATED.

I think the pipeline should be flagging both of these as SATURATED and neither of them as DO_NOT_USE. Do people feel differently?

For pixels we've talked about having special behavior surrounding partially saturated ramps:

  • all groups saturated -> DO_NOT_USE & SATURATED
  • some but not all groups saturated -> SATURATED, not DO_NOT_USE
    which I'm partial to, but I don't think is relevant here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions