-
Notifications
You must be signed in to change notification settings - Fork 36
Feature/images refactor #335
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
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
dc52044
remove during analysi from unit tests
Jammy2211 d335a8c
remove use of subfolders
Jammy2211 8140b09
clean up base plotter interfasce
Jammy2211 f716ab2
unitt est
Jammy2211 0697c4e
fit imaging plotter interface
Jammy2211 dcaad0d
interferometer
Jammy2211 04308dc
point plotter interface
Jammy2211 7a3559d
imaging unit testts
Jammy2211 8032abb
interferometer unit tests
Jammy2211 170de6c
point unit tests
Jammy2211 55f66c4
interface clean with unit tests passing
Jammy2211 71db6ef
during analysis removed
Jammy2211 0fef956
tracer.fits output
Jammy2211 b6f5077
model_galaxy_images.fits
Jammy2211 76ec528
fit.fits
Jammy2211 446dc4c
interferometer fits files
Jammy2211 2e0be5b
black
Jammy2211 0522cd8
Merge branch 'main' into feature/images_refactor
Jammy2211 ef09565
fix unit test
Jammy2211 5657d9d
merge main
Jammy2211 4cbc4b5
docstrings
Jammy2211 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,105 +1,43 @@ | ||
| dataset: # Settings for plots of all datasets (e.g. ImagingPlotter, InterferometerPlotter). | ||
| subplot_dataset: true # Plot subplot containing all dataset quantities (e.g. the data, noise-map, etc.)? | ||
| data: false | ||
| noise_map: false | ||
| signal_to_noise_map: false | ||
| imaging: # Settings for plots of imaging datasets (e.g. ImagingPlotter) | ||
| psf: false | ||
| positions: # Settings for plots with resampling image-positions on (e.g. the image). | ||
| image_with_positions: true | ||
| point_dataset: # Settings for plots of point source datasets (e.g. PointDatasetPlotter). | ||
| subplot_dataset: true # Plot subplot containing all dataset quantities (e.g. the data, noise-map, etc.)? | ||
| positions: false # Plot the positions of th multiple images of the point source in the image plane? | ||
| fluxes: false # Plot the fluxes of the multiple images of the point source in the image plane? | ||
| fit: # Settings for plots of all fits (e.g. FitImagingPlotter, FitInterferometerPlotter). | ||
| subplot_fit: true # Plot subplot of all fit quantities for any dataset (e.g. the model data, residual-map, etc.)? | ||
| all_at_end_png: true # Plot all individual plots listed below as .png (even if False)? | ||
| all_at_end_fits: true # Plot all individual plots listed below as .fits (even if False)? | ||
| all_at_end_pdf: false # Plot all individual plots listed below as publication-quality .pdf (even if False)? | ||
| subplot_of_planes: false # Plot subplot of the model-image, subtracted image and other quantities of each plane? | ||
| subplot_galaxies_images: false # Plot subplot of the image of each plane in the model? | ||
| data: false | ||
| noise_map: false | ||
| signal_to_noise_map: false | ||
| model_data: false | ||
| residual_map: false | ||
| chi_squared_map: false # Plot individual plots of the chi-squared-map? | ||
| residual_flux_fraction: false # Plot individual plots of the residual_flux_fraction? | ||
| model_images_of_planes: false # Plot individual plots of each plane's model image? | ||
| subtracted_images_of_planes: false # Plot individual plots of each plane's subtracted image? | ||
| plane_images_of_planes: false # Plot individual plots of each plane's image (e.g. in the source plane)? | ||
| fit_imaging: {} # Settings for plots of fits to imaging datasets (e.g. FitImagingPlotter). | ||
| fit_point_dataset: # Settings for plots of fits to point source datasets (e.g. FitPointDatasetPlotter). | ||
| positions: false # Plot the positions of th multiple images of the point source in the image plane? | ||
| fluxes: false # Plot the fluxes of the multiple images of the point source in the image plane? | ||
| tracer: # Settings for plots of tracers (e.g. TracerPlotter). | ||
| subplot_tracer: true # Plot subplot of all quantities in each tracer (e.g. images, convergence)? | ||
| all_at_end_png: true # Plot all individual plots listed below as .png (even if False)? | ||
| all_at_end_fits: true # Plot all individual plots listed below as .fits (even if False)? | ||
| all_at_end_pdf: false # Plot all individual plots listed below as publication-quality .pdf (even if False)? | ||
| subplot_galaxies_images: false # Plot subplot of the image of each plane in the tracer? | ||
| image: false # Plot image of the tracer (e.g. lens and lensed source in the image-plane)? | ||
| source_plane_image: false # Plot image of the tracer's source-plane? | ||
| lens_image: false # Plot image of the foreground lens galaxy (log10)? | ||
| convergence: false # Plot image of the tracer's convergence (log10)? | ||
| potential: false # Plot image of the tracer's potential (log10)? | ||
| deflections: false # Plot images of the tracer's y and x deflections? | ||
| magnification: false # Plot image of the tracer's magnification? | ||
| galaxies_1d: # Settings for 1D plots of galaxies (e.g. GalaxiesPlotter). | ||
| image: false | ||
| convergence: false | ||
| potential: false | ||
| inversion: # Settings for plots of inversions (e.g. InversionPlotter). | ||
| subplot_inversion: true # Plot subplot of all quantities in each inversion (e.g. reconstrucuted image, reconstruction)? | ||
| subplot_mappings: true # Plot subplot of the image-to-source pixels mappings of each pixelization? | ||
| all_at_end_png: true # Plot all individual plots listed below as .png (even if False)? | ||
| all_at_end_fits: true # Plot all individual plots listed below as .fits (even if False)? | ||
| all_at_end_pdf: false # Plot all individual plots listed below as publication-quality .pdf (even if False)? | ||
| reconstruction_noise_map: false | ||
| reconstructed_image: false | ||
| reconstruction: false | ||
| regularization_weights: false | ||
| adapt: # Settings for plots of adapt images used by adaptive pixelizations. | ||
| images_of_galaxies: true | ||
| model_image: true | ||
| interferometer: # Settings for plots of interferometer datasets (e.g. InterferometerPlotter). | ||
| amplitudes_vs_uv_distances: false | ||
| phases_vs_uv_distances: false | ||
| uv_wavelengths: false | ||
| dirty_image: false | ||
| dirty_noise_map: false | ||
| dirty_signal_to_noise_map: false | ||
| fit_interferometer: # Settings for plots of fits to interferometer datasets (e.g. FitInterferometerPlotter). | ||
| subplot_fit_dirty_images: false # Plot subplot of the dirty-images of all interferometer datasets? | ||
| subplot_fit_real_space: false # Plot subplot of the real-space images of all interferometer datasets? | ||
| amplitudes_vs_uv_distances: false | ||
| phases_vs_uv_distances: false | ||
| uv_wavelengths: false | ||
| dirty_image: false | ||
| dirty_noise_map: false | ||
| dirty_signal_to_noise_map: false | ||
| dirty_residual_map: false | ||
| dirty_normalized_residual_map: false | ||
| dirty_chi_squared_map: false | ||
| fit_quantity: # Settings for plots of fit quantities (e.g. FitQuantityPlotter). | ||
| all_at_end_png: true # Plot all individual plots listed below as .png (even if False)? | ||
| all_at_end_fits: true # Plot all individual plots listed below as .fits (even if False)? | ||
| all_at_end_pdf: false # Plot all individual plots listed below as publication-quality .pdf (even if False)? | ||
| chi_squared_map: false | ||
| image: true | ||
| model_image: false | ||
| noise_map: false | ||
| residual_map: false | ||
| normalized_residual_map: false | ||
| galaxies: # Settings for plots of galaxies (e.g. GalaxiesPlotter). | ||
| subplot_galaxies: true # Plot subplot of all quantities in each galaxies group (e.g. images, convergence)? | ||
| all_at_end_png: true # Plot all individual plots listed below as .png (even if False)? | ||
| all_at_end_fits: true # Plot all individual plots listed below as .fits (even if False)? | ||
| all_at_end_pdf: false # Plot all individual plots listed below as publication-quality .pdf (even if False)? | ||
| subplot_galaxy_images: false # Plot subplot of the image of each galaxy in the model? | ||
| image: false | ||
| source_plane_image: false | ||
| convergence: false | ||
| deflections: false | ||
| potential: false | ||
| magnification: false | ||
| dataset: # Settings for plots of all datasets (e.g. ImagingPlotter, InterferometerPlotter). | ||
| subplot_dataset: true # Plot subplot containing all dataset quantities (e.g. the data, noise-map, etc.)? | ||
|
|
||
| positions: # Settings for plots with resampling image-positions on (e.g. the image). | ||
| image_with_positions: true | ||
|
|
||
| point_dataset: # Settings for plots of point source datasets (e.g. PointDatasetPlotter). | ||
| subplot_dataset: true # Plot subplot containing all dataset quantities (e.g. the data, noise-map, etc.)? | ||
|
|
||
| fit: # Settings for plots of all fits (e.g. FitImagingPlotter, FitInterferometerPlotter). | ||
| subplot_fit: true # Plot subplot of all fit quantities for any dataset (e.g. the model data, residual-map, etc.)? | ||
| subplot_fit_log10: true # Plot subplot of all fit quantities for any dataset using log10 color maps (e.g. the model data, residual-map, etc.)? | ||
| subplot_of_planes: false # Plot subplot of the model-image, subtracted image and other quantities of each plane? | ||
| subplot_galaxies_images: false # Plot subplot of the image of each plane in the model? | ||
|
|
||
| fit_imaging: {} # Settings for plots of fits to imaging datasets (e.g. FitImagingPlotter). | ||
|
|
||
| fit_interferometer: # Settings for plots of fits to interferometer datasets (e.g. FitInterferometerPlotter). | ||
| subplot_fit_dirty_images: false # Plot subplot of the dirty-images of all interferometer datasets? | ||
| subplot_fit_real_space: false # Plot subplot of the real-space images of all interferometer datasets? | ||
|
|
||
| fit_point_dataset: {} # Settings for plots of fits to point source datasets (e.g. FitPointDatasetPlotter). | ||
|
|
||
| tracer: # Settings for plots of tracers (e.g. TracerPlotter). | ||
| subplot_tracer: true # Plot subplot of all quantities in each tracer (e.g. images, convergence)? | ||
| subplot_galaxies_images: false # Plot subplot of the image of each plane in the tracer? | ||
| fits_tracer: false # Output tracer.fits file of tracer's convergence, potential, deflections_y and deflections_x? | ||
|
|
||
| inversion: # Settings for plots of inversions (e.g. InversionPlotter). | ||
| subplot_inversion: true # Plot subplot of all quantities in each inversion (e.g. reconstrucuted image, reconstruction)? | ||
| subplot_mappings: true # Plot subplot of the image-to-source pixels mappings of each pixelization? | ||
|
|
||
| adapt: # Settings for plots of adapt images used by adaptive pixelizations. | ||
| subplot_adapt_images: true # Plot subplot showing each adapt image used for adaptive pixelization? | ||
|
|
||
| fit_quantity: # Settings for plots of fit quantities (e.g. FitQuantityPlotter). | ||
| subplot_fit: true | ||
|
|
||
| galaxies: # Settings for plots of galaxies (e.g. GalaxiesPlotter). | ||
| subplot_galaxies: true # Plot subplot of all quantities in each galaxies group (e.g. images, convergence)? | ||
| subplot_galaxy_images: false # Plot subplot of the image of each galaxy in the model? | ||
| subplot_galaxies_1d: false # Plot subplot of all quantities in 1D of each galaxies group (e.g. images, convergence)? | ||
| subplot_galaxies_1d_decomposed: false # Plot subplot of all quantities in 1D decomposed of each galaxies group (e.g. images, convergence)? |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This hardcoded variable looks a bit weird