Open tsalo opened 1 month ago
well, this is a bug. Several things to do:
Is there any reason not to use the phase noise volumes if they're available? Or are you saying they're not strictly necessary if you don't have them, but you would use them when you do have them?
If you have phase data, use it , if not we can use the Rayleigh model (or just assume it's gaussian, for high enough snr (> 10 iirc) its okay)
Ah, that makes sense. Thanks!
The phase data are loaded, but then immediately the variables are overwritten with magnitude data:
https://github.com/paquiteau/patch-denoising/blob/b34360bbfe62f6c2db320cd0c5523faf3f493ea8/src/patch_denoise/bindings/cli.py#L129-L131
Also, it looks like only the magnitude noise map is supported, since there's just a
--noise-map
parameter but no--phase-noise-map
parameter. Are the phase noise volumes not used by NORDIC?