Note to self: revisit custom functions For example, passing an averaging function does something like this: ```julia sum(img_ap) / length(ap) ``` when it might be more intuitive to return: ```julia sum(img_ap) / sum(ap) ```