Changed average and std functions to nanmean and nanstd
Changed average and std functions to nanmean and nanstd

This should avoid getting nans in the profile for cases where a part of the ring goes beyond the limits of the image.

emaciasq/Radial-Profile