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

more robust mu sigma calculation, new seeing function, memory improvements, typo fixes #644

Merged
merged 41 commits into from
Aug 22, 2024

Conversation

IainHammond
Copy link
Contributor

@IainHammond IainHammond commented Aug 9, 2024

bit of a mixed bag for this one. the main changes are:

  • get_mu_and_sigma now ensures the guess of a planet separation is larger than 1xFWHM
  • get_mu_and_sigma: radius_int can't be negative anymore
  • get_mu_and_sigma: calculation for mu and sigma uses an annulus that is better within the vicinity of the planet separation
  • new function alert: seeing_from_header very simple and extremely fast function to measure the seeing over a list of FITS files (e.g. a night of observations). Could be expanded to include wind speed.
  • derotation.py: np.nan_to_num is performed on the output array rather than making a copy of it
  • get_snr: the snr vs. npc plot now only plots integer values for npc on the x axis (no more 1.5 npc etc.)
  • dist: function now just uses np.hypot
  • bad_frames.py: moved all imports to the top of file
  • bad_frames.py: DAOStarFinder is now a lazy import. This was by far the slowest and generally added 2seconds to an initial import of any VIP function (benchmarked with tuna)

IainHammond and others added 30 commits April 12, 2024 16:39
@VChristiaens VChristiaens merged commit e3a69b4 into vortex-exoplanet:master Aug 22, 2024
14 checks passed
@VChristiaens
Copy link
Contributor

Thanks @IainHammond !

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

Successfully merging this pull request may close these issues.

2 participants