thrustcurve-db
ThrustCurve.org model rocket motor data as a static data structure (plus misc.
utility functions).
This module is a rebundling of the rocket motor data available on John Coker's
thrustcurve.org website ("TC"). The dataset includes data for all motors in the ThrustCurve API ("search" endpoint). And, where available, thrust samples (samples
).
Note: Some motors have multiple thrust sample files. A best-effort is made to pick the most accurate one, but samples
data should be treated as possibly out-of-date and/or uncertified.
License & Support
- Please read and understand the ThrustCurve.org license
- This is a snapshot of the TC data. It may be out of date. File an issue here if you think it needs to be updated.
- Issues with how motor data is translated into JSON should be filed as an issue here.
- Issues with incorrect motor data should be directed to the TC site.
Installation
You know the drill ...
npm i thrustcurve-db
Usage
import MOTORS, {parseDelays, unparseDelays} from 'thrustcurve-db';
for (const motor of MOTORS) {
console.log(motor);
}
parseDelays('S, 16, P');
unparseDelays({
times: [0,1,2,3,4,5,6,16],
plugged: true
});