Remove commented line
Account for multiple extensions in a fits file, with a main header common to all the chips and one header per chip
Add a function to check the number of chips of an image