ICM20948 seismometer

Hi, I’d like to use the example seismometer script with my ICM20948 9 DoF motion sensor but the script is setup for the 6 DoF variant. What changes do I need to make?