Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 1.47 KB

readme_link.rst

File metadata and controls

53 lines (37 loc) · 1.47 KB

import abel original = abel.tools.analytical.SampleImage(name='Gerber').func forward_abel = abel.Transform(original, direction='forward', method='hansenlaw').transform inverse_abel = abel.Transform(forward_abel, direction='inverse', method='three_point').transform

import matplotlib.pyplot as plt import numpy as np

fig, axs = plt.subplots(1, 2, figsize=(6, 3))

axs[0].imshow(forward_abel, clim=(0, None), cmap='ocean_r') axs[1].imshow(inverse_abel, clim=(0, None), cmap='ocean_r')

axs[0].set_title('Forward Abel transform') axs[1].set_title('Inverse Abel transform')

plt.tight_layout()