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

plot residuals #5

Open
12 of 17 tasks
aguinot opened this issue Jan 25, 2023 · 3 comments
Open
12 of 17 tasks

plot residuals #5

aguinot opened this issue Jan 25, 2023 · 3 comments

Comments

@aguinot
Copy link
Owner

aguinot commented Jan 25, 2023

Implementation of the plots on the focal plane. We use the defined parameter n_ccd to split the stars per CCDs. This is hard-coded but the parameter has to be defined so it should be OK.

Features:

  • Config file
    • parse the display of the focal plane (handle up-side-down CCDs)
    • parse all the plot we want to make (possibility to make operation on the columns)
    • plot parameters
      • nx
      • ny
  • Handle "any" focal plane display (only square-ish at the moment)
  • compute any residuals requested
  • possibility to change the estimator to get the value in each bins (default: mean but could be len, median, ...)
    • Possibility to do it per plot
  • Handle already existing run and skip computation (if requested) or only compute missing ones
    • Save information about the plots
    • Re-use already computed maps and only do the plotting
  • plotting fonction
  • Personnalisation of the plots
    • change cmap
    • force vmin, vmax
This was referenced Jan 25, 2023
@aguinot
Copy link
Owner Author

aguinot commented Feb 1, 2023

At the moment the computation is done with numpy. I did not manage to get a good solution using dask. I will need to investigate further how dask works and how to correctly setup a dask Client and Cluster.

@aguinot
Copy link
Owner Author

aguinot commented Feb 1, 2023

Find a better name since we can do more than just PSF residuals. Maybe: focal plane plots?

@aguinot
Copy link
Owner Author

aguinot commented Feb 1, 2023

First implementation:

  • 92M stars
  • 40 CCDs
  • (20, 40) binning
  • 8 plots

Run time: 3min45 (on laptop)
🎉

@aguinot aguinot mentioned this issue Feb 3, 2023
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