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

"raw" contrast, or single-frame contrast #60

Open
mileslucas opened this issue Feb 7, 2022 · 1 comment
Open

"raw" contrast, or single-frame contrast #60

mileslucas opened this issue Feb 7, 2022 · 1 comment

Comments

@mileslucas
Copy link
Member

It would be nice to have a method for creating contrast curves from a single frame. This is essentially just a radial profile of the inverse noise, but it's a convenient shorthand since the throughput doesn't have to be measured and the interface becomes much simpler. Right now I've used

cube = view(frame, :, :, 1)
alg(cube, args...; kwargs...) = cube[:, :, 1]
cc = contrast_curve(alg, cube, zeros(1), psf; kwargs...)
@mileslucas
Copy link
Member Author

I think this can be accomplished with

using ADI

noisemap = detectionmap(noise, image, fwhm)
distance, prof = radial_profile(noisemap)
plot(distance, 5 .* prof) # 5-sigma

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

No branches or pull requests

1 participant