You also need to factor in the resistance to the projectile, minimum bore diameter versus bullet diameter. A water hose that stays full diameter has little force to the rear, put a nozzle on it to reduce the diameter, and now you have a water wiggle or significant back pressure = recoil and you can feel the hose expand as the water hits the resistance just as barrels do. If you shoot a .30 caliber projectile, in a .38" bore, there will very little pressure or recoil regardless of the charge.
I'm not sure why you would want to map the acceleration unless you were trying something different like a gain twist barrel, to show the improvement, in which the initial acceleration will be faster than when the twist rate starts getting faster. Now theorizing pressure is a different matter, and most gun makers and a lot of ammo makers, use test barrels that are extremely thick, with strain gauges attached at different points on the barrel, this gives real time pressure measurements, and a couple hundred years of engineers notes of pressure capabilities for different alloys, heat treatments in barrels, give a good start. The test barrels give the actual pressure readings of a cartridge, the cartridge is what has been changing the most, with all the new short or super short magnums. Some of the new ultra light barrels need additional testing, due to diminished thickness compared to the norm. I know some of you have seen the tests on the M4's, where they dump mag after mag until the barrel sags and then bursts, not very scientific, but it shows where and how the barrel failed under real firing, I would hate to be the marine who is using his rifle that fast, he would definitely be in the Hurt locker.
Too long as usual, have a good evening.