function getInstrumentAttitude(scAttitude, timeStamp) result(instrumAttitude) real(double), intent(in) :: timeStamp type(SpacecraftAttitudeType), intent(in) :: scAttitude type(SpacecraftAttitudeType) :: instrumAttitude end function getInstrumentAttitude
NOTE this function requires the cal to have been set to the correct instrument before the call.