Analysis code for CAR HeRAMS