Skip to content

Commit

Permalink
Merge pull request #168 from grzegorzbor/master
Browse files Browse the repository at this point in the history
documentation fix - missing division by the speed of light in the formula
  • Loading branch information
cosimoNigro authored Dec 18, 2024
2 parents d66ccf9 + 0ea0c94 commit 02dc443
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion agnpy/emission_regions/blob.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ def u_ph_synch(self):
of radiation. We need to integrate over the electron spectrum (and multiply back by V_b)
.. math::
0.75\,\int n_e(\gamma) (\mathrm{d}E/\mathrm{d}t)_{\mathrm{synch}} R_b \mathrm{d}\gamma
0.75\,(R_b/c)\,\int n_e(\gamma) (\mathrm{d}E/\mathrm{d}t)_{\mathrm{synch}} \mathrm{d}\gamma
so
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies:
- numpy>=1.21
- scipy>=1.5,<1.10
- pyyaml # needed to read astropy ecsv file
- matplotlib>=3.4
- matplotlib>=3.4,<=3.9
- sherpa
- pre-commit
- gammapy<1.2
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
],
install_requires=["astropy>=5.0,<6.0", "numpy>=1.21", "scipy>=1.5,<1.10", "pyyaml", "matplotlib>=3.4", "sherpa", "pre-commit", "gammapy<1.2"],
install_requires=["astropy>=5.0,<6.0", "numpy>=1.21", "scipy>=1.5,<1.10", "pyyaml", "matplotlib>=3.4,<=3.9", "sherpa", "pre-commit", "gammapy<1.2"],
python_requires=">=3.9,<3.12",
)

0 comments on commit 02dc443

Please sign in to comment.