Open tsalo opened 7 months ago
That sounds good. I sort of have that written at the moment with the --debug
flag. But probably needs to be reworked into a proper save function.
Relevant lines for unwrapped phases when running with the --debug
flag on:
https://github.com/vanandrew/warpkit/blob/f9d145fd15208fc7ccd324da9ce535398263a4fe/warpkit/unwrap.py#L780-L788
The unwrapped phase data could be useful for purposed outside of distortion correction (e.g., phase regression, improved T2* estimation), so I was thinking it could be cool to have the unwrapping steps in warpkit as a command-line interface. I'm happy to open a PR if that sounds alright.