Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@JostMigenda
Copy link
Member

No description provided.

@Sheshuk Sheshuk self-requested a review October 24, 2024 14:56
Copy link
Contributor

@Sheshuk Sheshuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

Comment on lines +50 to +51
times = [0.5, 1] * u.s
energies = range(5,50) * u.MeV
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In our examples in similar context we usually use numpy arrays and << operator:

Suggested change
times = [0.5, 1] * u.s
energies = range(5,50) * u.MeV
times = [0.5, 1] << u.s
energies = np.arange(5, 50) << u.MeV

But probably it makes sense to avoid it here for maximum simplicity

@Sheshuk Sheshuk merged commit 3e194b0 into main Oct 30, 2024
14 checks passed
@JostMigenda JostMigenda deleted the JostMigenda/FixReadmeTypos branch December 20, 2024 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants