this post was submitted on 16 Jun 2024
126 points (97.7% liked)

Python

6366 readers
2 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

📅 Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
💓 Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Alteon@lemmy.world 31 points 5 months ago (2 children)

We'll that's huge. NumPy is fantastic. Had to use it for a bunch of linear algebra calculations for a Mars Atmospheric Descent Calculator. Fully mapped the trajectory and flight path as it entered the Martian Atmosphere. Was a cool little program...

[–] dinckelman@lemmy.world 10 points 5 months ago

I’ve had a short period, where i had to use it during uni, and it was honestly a pretty solid experience. Unfortunately i can’t say that about MATLAB, as that was a nightmare in every way imaginable

[–] SatouKazuma@programming.dev 4 points 5 months ago (1 children)
[–] Alteon@lemmy.world 3 points 5 months ago (1 children)

I'll see if I can boot it up and send you the output later. It's been awhile. If I can get it working, I'll ask you to give me a bunch of inputs (speed, trajectory, altitude, etc) and I'll send you the output. I had the speed and trajectory calculated every 0.1s so it was relatively accurate. I was planning to add in boosters and parachutes, but I never got that far. The best I can. Give you os how long it takes to plummit into the ground and at what speed lol...

It was pretty cool as it would correctly show orbits and the effect of atmospheric drag if you didn't fully descend in the first orbit around the planet, so you'd just see it loop around several times until it bled off enough speed to eventually descend into the atmosphere. I think I managed to get coreliolis effects added before I stopped messing with it.

[–] SatouKazuma@programming.dev 1 points 5 months ago* (last edited 5 months ago)

I mean, what were all the coefficients you looked at? Your source code would be really cool, assuming you're wanting to open it up, of course.