code: def convertWCS(inwcs,drizwcs):
      
      drizwcs[0] = inwcs.crpix[0]
      drizwcs[1] = inwcs.crval[0]
      drizwcs[2] = inwcs.crpix[1]
      drizwcs[3] = inwcs.crval[1]
      drizwcs[4] = inwcs.cd[0][0]
      drizwcs[5] = inwcs.cd[1][0]
      drizwcs[6] = inwcs.cd[0][1]
      drizwcs[7] = inwcs.cd[1][1]
  
      return drizwcs
docs: Copy WCSObject WCS into Drizzle compatible array.