Skip to content

[FEAT] Imviz: add option for an integrated profile to the aperture photometry plugin #1049

@eteq

Description

@eteq

Description

The current aperture photometry plugin shows pixel values. This is sometimes exactly what the user wants, but other times they want the integrated flux profile (sometimes called the "curve of growth"). We should add an option to the aperture photometry plugin to do exactly that - i.e., it would toggle the plot between the current "pixel plot" behavior and an integrated profile.

The idea would be to basically have it plot exactly what the algorithm I describe in #1048 does, but actually plot the profile from steps 1-3 instead of using it to compute the FWHM. That has the convenient feature that the user could look at that plot and immediately see what the FWHM is (i.e., it's where the profile first crosses "half of the max"). Could even add a thin horizontal line at the half-max, although that might make the plot too busy (I leave it to the implementors discretion for the first pass at least).

Additional context

Brought up out-of-band in a discussion with @pontoppi, who may want to comment here if there's more to add than what I have above.

🐱

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions