Script to generate polygons from contours and then use polygons to get source positions and flux densities