Edits to work with latest IQMon and astropy