Skip to content

Why is the THRESHOLDMAX parameter always the same as the detection threshold? #87

@Cereal137

Description

@Cereal137

On line 762-764 in src/param.h:

  {"THRESHOLDMAX", "Maximum threshold possible for detection",
	&outobj.dthresh, H_FLOAT, T_FLOAT, "%12.7g", "count",
	"phot.flux.sb;stat.max", "ct"},

which uses exactly the same attribute dthresh as line 212.

However, I suppose the so-called "Maximum threshold possible for detection" should be the max value above which the given detection will no longer be valid (since the number of detected pixels will be smaller than DETECT_MINAREA). More explicitly, why are we using &outobj.dthresh instead of &outobj.mthresh here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions