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

ENH: plot source configuration #59

Merged
merged 19 commits into from
Jan 28, 2025
Merged

ENH: plot source configuration #59

merged 19 commits into from
Jan 28, 2025

Conversation

ctrltz
Copy link
Owner

@ctrltz ctrltz commented Dec 14, 2024

This PR adds an option to plot all sources in the SourceConfiguration. Noise sources are shown in black, but all colors can be customized. Closes #45.

The picture also highlights the current problem with random_state (#51): subsequent calls of select_random lead to the same result, so the centers of patches coincide with previously defined point sources. Needs to be fixed soon.

plot_source_configuration

@ctrltz ctrltz requested a review from astudenova January 22, 2025 14:30
@ctrltz ctrltz merged commit 34e57f5 into master Jan 28, 2025
7 checks passed
@ctrltz ctrltz deleted the 45-plot-source-configuration branch January 28, 2025 15:40
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.

Plotting the SourceConfiguration to show the locations of simulated sources
2 participants