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

Restructure the interface to map-maker and noise generator #39

Merged
merged 5 commits into from
Feb 19, 2020

Conversation

ziotom78
Copy link
Contributor

  • Use nothing as the default to MPI communicators instead of missing
  • Make destripe return a structure describing the convergence of the algorithm, instead of just the baselines and the map
  • Use more keyword parameters for those parameters that can be easily defaulted
  • Make sure that unique noise seeds are used for different polarimeters when generating noise timelines

The following fields in the structure have been changed as well:

- `σ` has been renamed to `sigma`
- `num_of_baselines` has been removed (it is just the length of `baselines_lengths`)

A few `if`s have been converted into one-liners, and trailing
whitespaces have been removed here and there.
- The code now checks that random seeds are unique among polarimeters
- generate_noise_mpi now accepts three keyword parameters: `rank`, `comm`, and `input_seed`
- MPI `comm` defaults to `nothing` (previously it used `missing`)
@algebrato algebrato merged commit ee9f856 into master Feb 19, 2020
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.

None yet

2 participants