Source code for meshslice.utils.pol2cart

import numpy as np


[docs]def pol2cart(rho, phi): x = rho * np.cos(phi) y = rho * np.sin(phi) return(x, y)