field map correction magnitude and phase

I am new in afni. I have a fmri data in which Magnitude and phase field maps are recorded as separate 3D volumetric images. how can I correct the field map from bold data with afni functions?
Thank you very much,

See if the following discussion provides any helpful information:,141536,141536#msg-141536

We’ve been working with Vinai Roopchansingh and Jerry French on this in a general comparison with blip-up/down distortion correction. Vinai has made their code available for this work-in-progress, and the preliminary python code is available here: