Calculate scale factor between Ha and continuum images
Fix bug. Range needs integers