rbreslow / the-bootstrap-approach

Python library and tooling for modeling the performance of light aircraft 🛩️🏔.
GNU Affero General Public License v3.0
0 stars 0 forks source link

Investigate type classing/named tuples #10

Open rbreslow opened 2 years ago

rbreslow commented 2 years ago

Right now, we're handling a ton of different data across a ton of units (fahrenheit, celsius, lbs, gallons, etc.). We're storing some pretty complex data like the 2D array returned by the bootstrap_cruise_performance_table method. However, we're storing all of this data in primitive float and integer types.

This issue is open ended because it's late and I just needed to brain dump. See if type classing or named tuples can help alleviate some of this stress.

rbreslow commented 2 years ago

https://numpy.org/doc/stable/user/basics.rec.html