Unwrap[data] unwraps the given dataset. The data should be between -Pi and Pi. Unwrap[] is based on DOI: 10.1364/AO.46.006623 and 10.1364/AO.41.007437.


  • The following options can be given:
  • MonitorUnwrapTrueMonitorUnwrap is an option for Unwrap. Monitor the unwrapping progress.
    UnwrapDimension"2D"UnwrapDimension is an option for Unwrap. Can be "2D" or "3D". 2D is for unwarpping 2D images or unwrapping the individual images from a 3D dataset (does not unwrap in the slice direction). 3D unwraps a 3D dataset in all dimensions.
    UnwrapThresh0.6UnwrapThresh is an option for Unwrap. Is a value between 0.6 and 0.9, and defines when to unwrap, the higher the value the less unwrapping will be done.