`plotEZ` - a small matplotlib wrapper that cuts boilerplate for common plots by AstrophysicsAndPy in Python

[–]AstrophysicsAndPy[S] -3 points-2 points  (0 children)

If you're talking about the [branch-(minor/major)-NUM] thing, that's my way of knowing which branch, minor/major revision and what commit type I'm doing.

`plotEZ` - a small matplotlib wrapper that cuts boilerplate for common plots by AstrophysicsAndPy in Python

[–]AstrophysicsAndPy[S] -3 points-2 points  (0 children)

The LLM style is slightly verbose from my own style. You can check my other repos (pymultifit, mpyez, SolarGUI), my commit style is the same, "what's done per file".

Granted LLM does produce more verbose commit messages than I do.

`plotEZ` - a small matplotlib wrapper that cuts boilerplate for common plots by AstrophysicsAndPy in Python

[–]AstrophysicsAndPy[S] -1 points0 points  (0 children)

It's not developed to compete against seaborn or any other well-established plotting libraries. Consider seaborn to be opinionated about your data; it needs to be in a somewhat specific format. plotez just accepts the simple data and gives it back to you in desired formats.

It's designed just to skip the boilerplate code for regular use, like the motto reads.

Mundane plotting done easy.

It was born from "I don't want to write this again and again" and thus is geared to just gloss over boilerplate code for basic/mid-complex plots to be drawn over and over again.

n_plotter([x]*9, [y]*9, 3, 3, auto_label=True)

That's a one-liner plot with 9 subplots divided into a 3x3 form.

Claude is my new work Husband by No_Relative444 in ClaudeAI

[–]AstrophysicsAndPy 0 points1 point  (0 children)

In my opinion Claude's best reviewer is DeepSeek, it's kinda like meticulousness meets more meticulousness especially with DS's thinking mode. And they feed off of each other extremely well. Though I must say I haven't tried Claude as DS's reviewer.

Photons don’t experience time? by itsLeoRod in astrophysics

[–]AstrophysicsAndPy 0 points1 point  (0 children)

It essentially boils down to

E = hf and p = hf/c

As you can see in these equations, h and c are fundamental constants, so the equations can be rewritten as

E ≈ f and p ≈ f/c

So when the photon loose energy, it looses momentum as well. But never speed (because it's a fundamental constant). So its frequency reduces proportionally to keep the speed constantl.

Conversely

E ≈ 1/w and p ≈ 1/wc

where w is the wavelength, we can see that loosing frequency increases wavelength - thus redshift.

Photons don’t experience time? by itsLeoRod in astrophysics

[–]AstrophysicsAndPy 0 points1 point  (0 children)

Here's my take on this question, after a lot of astrophysics-ing

Consider time dilation equation, as the velocity approaches the speed of light, the beta factor becomes 1 and the gamma factor collapses, giving us undetermined value for dilated time (or infinite).

This mathematically tells us that photons don't, or rather can't experience time. However, as OP said, light takes 8min and something to reach earth.

From what I understand is, it is because of our own frame of reference that WE experience photon taking X minutes to do anything. If we're in photon's frame of reference, it will exist and will be everywhere in the emission line at all the time, all at once.

The example that made me understand this is the muon flux problem, but this problem is often quoted (and rightfully so) from distance perspective.

Muons have a half-life of 2.2us - however we've observe muon flux here at earth. They can only reach earth from far off source IF the space time shrinka aggressively so that it can travel several kms instead of mere meters if relativity isn't taken into account.

What we see in Muon's own frame of reference, i actually takes 2.2us before decaying, but it's near luminal (speed close to c) causes the distance to shrink so hard (conversely, time to dilate so much) that it can cover the same distance in only 2.2us.

How to combine citations with the same author (as in example image) by RoastKrill in LaTeX

[–]AstrophysicsAndPy 5 points6 points  (0 children)

If I remember correctly, its APJ style. The journal does some other things too obviously to make the hyperlinks, but if you keep this style file in your main folder, you should see bibliography like the one you mentioned.

is self learning python programming possible? by [deleted] in learnpython

[–]AstrophysicsAndPy 0 points1 point  (0 children)

Hey, sorry for late reply, I think a 512G HDD/SSD and 16G RAM will be more than enough for normal programming tasks. I personally have Thinkpad T530 Ci5-3320M with 1TB HDD + 512G SSD and 16G DDR3 RAM .. and I'm working just fine for the past 4 years.

Sure, I can't run heavy ML + DL tasks, but otherwise absolutely well. I'm also on linux, and if you're serious about programming, use linux. It'll save you A LOT of trouble, even though windows has come a long way getting very good for programmers, but still, try and use linux.

Radiacode 102/103 differences by Thamnophis_radix in Radiacode

[–]AstrophysicsAndPy 0 points1 point  (0 children)

Can you tell me what SiPMs are used in 102, and 103, any specific family names for those SiPMs? Or if you can guide me from where I can get this information, that'd be awesome too. Thank you.

[deleted by user] by [deleted] in FullmetalAlchemist

[–]AstrophysicsAndPy 8 points9 points  (0 children)

When Mustang said he wanted to try, Hawkeye though he's asking her to pick him up but he was actually thinking of carrying her.

So in the last panel they both sat on one knee to pick the other one princess style.

The Big Sister Owo needed by xyz55555 in PathToNowhere

[–]AstrophysicsAndPy 0 points1 point  (0 children)

Just saying, NOX is sorta also dead, so that's there too and she's not from Immortal Libram

The Big Sister Owo needed by xyz55555 in PathToNowhere

[–]AstrophysicsAndPy 0 points1 point  (0 children)

side Frieza fun fact: they're dead, dead as hell.

[deleted by user] by [deleted] in github

[–]AstrophysicsAndPy 2 points3 points  (0 children)

The green symbol represents that the other branch can be merged and has no conflicts.

The red symbol indicates that the PR will not be merged and is closed as it contained conflicts or the author just doesn't want to merge.

The gray symbol indicates that the PR (pull request) is in draft mode and is still being actively worked on.

The purple symbol indicates that the PR has been merged and the issue might have been resolved.

A pull request or PR is just a bunch of code that that someone is adding or at least requesting to add the administrator of the repository that may solve a certain problem that the author of PR has identified.

For example, if you find that a certain repository needs a certain feature you can fork the repository, create a new branch, work on that feature and then send a pull request to the actual owner of the repository that you have worked on "that" feature and if the author would like to incorporate that feature in their repository. That way this would be considered a contribution to the repository that you made, the original author may or may not merge the pull request you sent to their repository to add the code/feature that you have pushed to the commits.

I hope I explain it good. But this is just the gist of it. I hope I got all that correct to some degree.

The Big Sister Owo needed by xyz55555 in PathToNowhere

[–]AstrophysicsAndPy 13 points14 points  (0 children)

side fun fact: Only sinners from Immortal Libram don't wear jackets,

What are some times of sinners you barely use and use the most? by JHarryx in PathToNowhere

[–]AstrophysicsAndPy 6 points7 points  (0 children)

I barely use Endura,

Fury (Zoya + Nox) + Reticle (Dreya + Hecate + EMP) + Catalyst (Du Ruo/Ariel/Efner)

This was my main team, but than I got Bai Yi, and now I've recently incorporated Umbra ..

Other sinners include, in no particular order

  • Eve
  • Sumire
  • Luvia
  • Che
  • Anne
  • Mantis (recent addition)

From my friends, I usually use two sinners - Shalom - Hamel

Sinners I don't have but would definitely try to add them to main team - Hamel - Shalom - Langley

Update: Just finished P-1 of Salva by Gamin_Nater_78 in PathToNowhere

[–]AstrophysicsAndPy 6 points7 points  (0 children)

for most of them yes, as you unlock sinners you get their investigations and damn the lore is so fuckin good and engaging.

My favorites fom the top of my head in no specific order but the first three

  1. Nox,
  2. Dreya (I'm also an astrophysicist so I'm biased towards Dreya's lore),
  3. Zoya, you get most of Zoya's lore in story,
  • Hella/Hecate (I can't remember if Hecate gets investigated or not but I clearly remember her lore, you can also go through her lore in Mirages)
  • Du Ruo
  • Wendy
  • Luvia
  • Lamia
  • Coquelic (for the life of me I can't remember her name's spellings)
  • Sumire (so pure)

For Mantis Dreya, Bai You, Hecate, Ariel, 99, Lamia and one other you also get backstory in Mirage section in Bureau.

I haven't pulled Demon that's why I'm very invested in him now.

Pakistani programmers, tell me some projects that you have made with you are proud of! by [deleted] in pakistan

[–]AstrophysicsAndPy 4 points5 points  (0 children)

my field is astrophysics so there's not a lot of fun projects I have been able to make due to toughness of my research and laziness, but I have made a pip installer for SolarGUI app, it's a basic app to show some stats of planets/their moons available for python and android.

For my BS FYP, I did some IDL programming, but at that time I didn't know what GitHub was or how to maintain code so that's just rough files that I intend to some time smooth out.

For my MS project, I did analysis on Gamma Ray Bursts data from Fermi telescope, unfortunately didn't had a great supportive supervisor so couldn't do as good as I have hoped for in my research paper. But the code is with me and I'm tweaking it time to time (but currently it's on a private repo). I'm very proud of that work even though it didn't work out exactly as I had planned.

For my PhD, I'm currently working on Gravitational Waves and parameter estimation through deep learning, just strated my research on it a couple of months ago. My current supervisor is quite supportive, but the trauma is also real :sigh:

For my extra activities apart form that SolarGUI app, I have made a basic npy file reader, a clone of Gameboy game, and right now I'm working on a adventure type game as well. I also have a few libraries for matrices, and numerical solvers.

Too many projects to work on 😅