Skip to content

Update Murat_data to match parallel version and add envelope smoothin…#49

Merged
LucaDeSiena merged 2 commits into
MuRAT4from
add/envelope
Apr 18, 2026
Merged

Update Murat_data to match parallel version and add envelope smoothin…#49
LucaDeSiena merged 2 commits into
MuRAT4from
add/envelope

Conversation

@GaiaCaporale
Copy link
Copy Markdown
Collaborator

…g parameter

Summary

This PR updates the Murat_data function to ensure consistency with the parallelized version (Murat_dataParallelized), while keeping the serial implementation.

Changes

  • Added default handling of envelopeSmoothTime in the input structure to ensure backward compatibility with older input files.
  • Updated the call to Murat_envelope to explicitly pass the smoothing parameter.
  • Kept the serial for loop in Murat_data, while maintaining parfor only in the parallelized version.
  • No changes to the core processing logic or inversion workflow.

Notes

  • The code was tested on the Calabria dataset and completed successfully.
  • This update ensures consistent behavior between the serial and parallel implementations.
  • Further improvements to warning messages and QC checks can be addressed in future updates if needed.

GaiaCaporale and others added 2 commits April 17, 2026 14:05
…g parameter

### Summary

This PR updates the `Murat_data` function to ensure consistency with the parallelized version (`Murat_dataParallelized`), while keeping the serial implementation.

### Changes

* Added default handling of `envelopeSmoothTime` in the input structure to ensure backward compatibility with older input files.
* Updated the call to `Murat_envelope` to explicitly pass the smoothing parameter.
* Kept the serial `for` loop in `Murat_data`, while maintaining `parfor` only in the parallelized version.
* No changes to the core processing logic or inversion workflow.

### Notes

* The code was tested on the Calabria dataset and completed successfully.
* This update ensures consistent behavior between the serial and parallel implementations.
* Further improvements to warning messages and QC checks can be addressed in future updates if needed.
@LucaDeSiena LucaDeSiena merged commit 7793754 into MuRAT4 Apr 18, 2026
1 check passed
@LucaDeSiena LucaDeSiena deleted the add/envelope branch April 18, 2026 15:41
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