We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35704d0 commit e0df705Copy full SHA for e0df705
1 file changed
tests/test_photons.py
@@ -0,0 +1,10 @@
1
+from luminet.black_hole import BlackHole
2
+
3
+def test_photons(n=1000):
4
+ """
5
+ Test if black hole can sample individual photons
6
7
8
+ bh = BlackHole(incl=1.3)
9
+ photons, ghost_photons = bh.sample_photons(n)
10
+ return photons, ghost_photons
0 commit comments