[1]:
from icecube_tools.utils.data import RealEvents, SimEvents
from icecube_tools.point_source_analysis.point_source_analysis import MapScan
import numpy as np
import matplotlib.pyplot as plt
MapScan
We can perform a scan over the sky for point sources. At each proposed source location a likelihood fit is performed. First we have to provide some events, here we use the simulated ones from the example notebook.
[2]:
events = SimEvents.load_from_h5("h5_test.hdf5")
Then we create a MapScan() object with some configuration config.yaml
in which source lists, data cuts, etc. can be stored, the events, and a path for the output of the scan test_output.hdf5
.
[3]:
scan = MapScan("config.yaml", "test_output.hdf5", events)
Let’s create a small grid around the source location of the simulation: (ra, dec) = (180°, 30°)
[4]:
dec = np.linspace(np.deg2rad(25), np.deg2rad(35), 11)
ra = np.linspace(np.pi - np.deg2rad(5), np.pi + np.deg2rad(5), 11)
rr, dd = np.meshgrid(ra, dec)
The source coordinates need to be handed over the the MapScan, then generate_sources()
is called. Although the sources are already generated, it is able to create source lists from healpy keywords npix and nside for entire sky searches. Furthermore, output arrays of appropriate sizes are created. Afterwards the fits are started.
[5]:
scan.ra_test = rr.flatten()
scan.dec_test = dd.flatten()
scan.generate_sources()
scan.perform_scan(show_progress=True)
- more-to-come:
- class:
stderr
- 0%| | 0/121 [00:00<?, ?it/s]
</pre>
- 0%| | 0/121 [00:00<?, ?it/s]
end{sphinxVerbatim}
0%| | 0/121 [00:00<?, ?it/s]
- more-to-come:
- class:
stderr
- 1%| | 1/121 [00:02<05:14, 2.62s/it]
</pre>
- 1%| | 1/121 [00:02<05:14, 2.62s/it]
end{sphinxVerbatim}
1%| | 1/121 [00:02<05:14, 2.62s/it]
- more-to-come:
- class:
stderr
- 2%|▏ | 3/121 [00:02<01:27, 1.34it/s]
</pre>
- 2%|▏ | 3/121 [00:02<01:27, 1.34it/s]
end{sphinxVerbatim}
2%|▏ | 3/121 [00:02<01:27, 1.34it/s]
- more-to-come:
- class:
stderr
- 4%|▍ | 5/121 [00:02<00:47, 2.44it/s]
</pre>
- 4%|▍ | 5/121 [00:02<00:47, 2.44it/s]
end{sphinxVerbatim}
4%|▍ | 5/121 [00:02<00:47, 2.44it/s]
- more-to-come:
- class:
stderr
- 6%|▌ | 7/121 [00:03<00:31, 3.60it/s]
</pre>
- 6%|▌ | 7/121 [00:03<00:31, 3.60it/s]
end{sphinxVerbatim}
6%|▌ | 7/121 [00:03<00:31, 3.60it/s]
- more-to-come:
- class:
stderr
- 7%|▋ | 9/121 [00:03<00:23, 4.81it/s]
</pre>
- 7%|▋ | 9/121 [00:03<00:23, 4.81it/s]
end{sphinxVerbatim}
7%|▋ | 9/121 [00:03<00:23, 4.81it/s]
- more-to-come:
- class:
stderr
- 9%|▉ | 11/121 [00:03<00:18, 5.97it/s]
</pre>
- 9%|▉ | 11/121 [00:03<00:18, 5.97it/s]
end{sphinxVerbatim}
9%|▉ | 11/121 [00:03<00:18, 5.97it/s]
- more-to-come:
- class:
stderr
- 11%|█ | 13/121 [00:03<00:15, 6.93it/s]
</pre>
- 11%|█ | 13/121 [00:03<00:15, 6.93it/s]
end{sphinxVerbatim}
11%|█ | 13/121 [00:03<00:15, 6.93it/s]
- more-to-come:
- class:
stderr
- 12%|█▏ | 15/121 [00:03<00:13, 7.67it/s]
</pre>
- 12%|█▏ | 15/121 [00:03<00:13, 7.67it/s]
end{sphinxVerbatim}
12%|█▏ | 15/121 [00:03<00:13, 7.67it/s]
- more-to-come:
- class:
stderr
- 14%|█▍ | 17/121 [00:04<00:13, 7.93it/s]
</pre>
- 14%|█▍ | 17/121 [00:04<00:13, 7.93it/s]
end{sphinxVerbatim}
14%|█▍ | 17/121 [00:04<00:13, 7.93it/s]
- more-to-come:
- class:
stderr
- 16%|█▌ | 19/121 [00:04<00:11, 8.65it/s]
</pre>
- 16%|█▌ | 19/121 [00:04<00:11, 8.65it/s]
end{sphinxVerbatim}
16%|█▌ | 19/121 [00:04<00:11, 8.65it/s]
- more-to-come:
- class:
stderr
- 17%|█▋ | 21/121 [00:04<00:10, 9.13it/s]
</pre>
- 17%|█▋ | 21/121 [00:04<00:10, 9.13it/s]
end{sphinxVerbatim}
17%|█▋ | 21/121 [00:04<00:10, 9.13it/s]
- more-to-come:
- class:
stderr
- 19%|█▉ | 23/121 [00:04<00:10, 9.43it/s]
</pre>
- 19%|█▉ | 23/121 [00:04<00:10, 9.43it/s]
end{sphinxVerbatim}
19%|█▉ | 23/121 [00:04<00:10, 9.43it/s]
- more-to-come:
- class:
stderr
- 21%|██ | 25/121 [00:04<00:10, 9.30it/s]
</pre>
- 21%|██ | 25/121 [00:04<00:10, 9.30it/s]
end{sphinxVerbatim}
21%|██ | 25/121 [00:04<00:10, 9.30it/s]
- more-to-come:
- class:
stderr
- 21%|██▏ | 26/121 [00:05<00:10, 9.18it/s]
</pre>
- 21%|██▏ | 26/121 [00:05<00:10, 9.18it/s]
end{sphinxVerbatim}
21%|██▏ | 26/121 [00:05<00:10, 9.18it/s]
- more-to-come:
- class:
stderr
- 23%|██▎ | 28/121 [00:05<00:10, 9.26it/s]
</pre>
- 23%|██▎ | 28/121 [00:05<00:10, 9.26it/s]
end{sphinxVerbatim}
23%|██▎ | 28/121 [00:05<00:10, 9.26it/s]
- more-to-come:
- class:
stderr
- 24%|██▍ | 29/121 [00:05<00:10, 9.15it/s]
</pre>
- 24%|██▍ | 29/121 [00:05<00:10, 9.15it/s]
end{sphinxVerbatim}
24%|██▍ | 29/121 [00:05<00:10, 9.15it/s]
- more-to-come:
- class:
stderr
- 25%|██▍ | 30/121 [00:05<00:10, 9.05it/s]
</pre>
- 25%|██▍ | 30/121 [00:05<00:10, 9.05it/s]
end{sphinxVerbatim}
25%|██▍ | 30/121 [00:05<00:10, 9.05it/s]
- more-to-come:
- class:
stderr
- 26%|██▋ | 32/121 [00:05<00:09, 9.82it/s]
</pre>
- 26%|██▋ | 32/121 [00:05<00:09, 9.82it/s]
end{sphinxVerbatim}
26%|██▋ | 32/121 [00:05<00:09, 9.82it/s]
- more-to-come:
- class:
stderr
- 28%|██▊ | 34/121 [00:05<00:08, 9.84it/s]
</pre>
- 28%|██▊ | 34/121 [00:05<00:08, 9.84it/s]
end{sphinxVerbatim}
28%|██▊ | 34/121 [00:05<00:08, 9.84it/s]
- more-to-come:
- class:
stderr
- 29%|██▉ | 35/121 [00:06<00:08, 9.81it/s]
</pre>
- 29%|██▉ | 35/121 [00:06<00:08, 9.81it/s]
end{sphinxVerbatim}
29%|██▉ | 35/121 [00:06<00:08, 9.81it/s]
- more-to-come:
- class:
stderr
- 31%|███ | 37/121 [00:06<00:08, 9.78it/s]
</pre>
- 31%|███ | 37/121 [00:06<00:08, 9.78it/s]
end{sphinxVerbatim}
31%|███ | 37/121 [00:06<00:08, 9.78it/s]
- more-to-come:
- class:
stderr
- 31%|███▏ | 38/121 [00:06<00:08, 9.66it/s]
</pre>
- 31%|███▏ | 38/121 [00:06<00:08, 9.66it/s]
end{sphinxVerbatim}
31%|███▏ | 38/121 [00:06<00:08, 9.66it/s]
- more-to-come:
- class:
stderr
- 32%|███▏ | 39/121 [00:06<00:08, 9.50it/s]
</pre>
- 32%|███▏ | 39/121 [00:06<00:08, 9.50it/s]
end{sphinxVerbatim}
32%|███▏ | 39/121 [00:06<00:08, 9.50it/s]
- more-to-come:
- class:
stderr
- 34%|███▍ | 41/121 [00:06<00:08, 9.72it/s]
</pre>
- 34%|███▍ | 41/121 [00:06<00:08, 9.72it/s]
end{sphinxVerbatim}
34%|███▍ | 41/121 [00:06<00:08, 9.72it/s]
- more-to-come:
- class:
stderr
- 36%|███▌ | 43/121 [00:06<00:07, 10.10it/s]
</pre>
- 36%|███▌ | 43/121 [00:06<00:07, 10.10it/s]
end{sphinxVerbatim}
36%|███▌ | 43/121 [00:06<00:07, 10.10it/s]
- more-to-come:
- class:
stderr
- 37%|███▋ | 45/121 [00:07<00:07, 9.88it/s]
</pre>
- 37%|███▋ | 45/121 [00:07<00:07, 9.88it/s]
end{sphinxVerbatim}
37%|███▋ | 45/121 [00:07<00:07, 9.88it/s]
- more-to-come:
- class:
stderr
- 39%|███▉ | 47/121 [00:07<00:07, 10.34it/s]
</pre>
- 39%|███▉ | 47/121 [00:07<00:07, 10.34it/s]
end{sphinxVerbatim}
39%|███▉ | 47/121 [00:07<00:07, 10.34it/s]
- more-to-come:
- class:
stderr
- 40%|████ | 49/121 [00:07<00:08, 8.98it/s]
</pre>
- 40%|████ | 49/121 [00:07<00:08, 8.98it/s]
end{sphinxVerbatim}
40%|████ | 49/121 [00:07<00:08, 8.98it/s]
- more-to-come:
- class:
stderr
- 41%|████▏ | 50/121 [00:07<00:08, 8.40it/s]
</pre>
- 41%|████▏ | 50/121 [00:07<00:08, 8.40it/s]
end{sphinxVerbatim}
41%|████▏ | 50/121 [00:07<00:08, 8.40it/s]
- more-to-come:
- class:
stderr
- 42%|████▏ | 51/121 [00:07<00:09, 7.72it/s]
</pre>
- 42%|████▏ | 51/121 [00:07<00:09, 7.72it/s]
end{sphinxVerbatim}
42%|████▏ | 51/121 [00:07<00:09, 7.72it/s]
- more-to-come:
- class:
stderr
- 43%|████▎ | 52/121 [00:07<00:08, 8.07it/s]
</pre>
- 43%|████▎ | 52/121 [00:07<00:08, 8.07it/s]
end{sphinxVerbatim}
43%|████▎ | 52/121 [00:07<00:08, 8.07it/s]
- more-to-come:
- class:
stderr
- 45%|████▍ | 54/121 [00:08<00:08, 8.26it/s]
</pre>
- 45%|████▍ | 54/121 [00:08<00:08, 8.26it/s]
end{sphinxVerbatim}
45%|████▍ | 54/121 [00:08<00:08, 8.26it/s]
- more-to-come:
- class:
stderr
- 45%|████▌ | 55/121 [00:08<00:07, 8.48it/s]
</pre>
- 45%|████▌ | 55/121 [00:08<00:07, 8.48it/s]
end{sphinxVerbatim}
45%|████▌ | 55/121 [00:08<00:07, 8.48it/s]
- more-to-come:
- class:
stderr
- 46%|████▋ | 56/121 [00:08<00:07, 8.78it/s]
</pre>
- 46%|████▋ | 56/121 [00:08<00:07, 8.78it/s]
end{sphinxVerbatim}
46%|████▋ | 56/121 [00:08<00:07, 8.78it/s]
- more-to-come:
- class:
stderr
- 48%|████▊ | 58/121 [00:08<00:06, 9.48it/s]
</pre>
- 48%|████▊ | 58/121 [00:08<00:06, 9.48it/s]
end{sphinxVerbatim}
48%|████▊ | 58/121 [00:08<00:06, 9.48it/s]
- more-to-come:
- class:
stderr
- 49%|████▉ | 59/121 [00:08<00:06, 8.97it/s]
</pre>
- 49%|████▉ | 59/121 [00:08<00:06, 8.97it/s]
end{sphinxVerbatim}
49%|████▉ | 59/121 [00:08<00:06, 8.97it/s]
- more-to-come:
- class:
stderr
- 50%|████▉ | 60/121 [00:08<00:08, 7.38it/s]
</pre>
- 50%|████▉ | 60/121 [00:08<00:08, 7.38it/s]
end{sphinxVerbatim}
50%|████▉ | 60/121 [00:08<00:08, 7.38it/s]
- more-to-come:
- class:
stderr
- 50%|█████ | 61/121 [00:09<00:08, 6.94it/s]
</pre>
- 50%|█████ | 61/121 [00:09<00:08, 6.94it/s]
end{sphinxVerbatim}
50%|█████ | 61/121 [00:09<00:08, 6.94it/s]
- more-to-come:
- class:
stderr
- 51%|█████ | 62/121 [00:09<00:08, 6.82it/s]
</pre>
- 51%|█████ | 62/121 [00:09<00:08, 6.82it/s]
end{sphinxVerbatim}
51%|█████ | 62/121 [00:09<00:08, 6.82it/s]
- more-to-come:
- class:
stderr
- 52%|█████▏ | 63/121 [00:09<00:08, 7.24it/s]
</pre>
- 52%|█████▏ | 63/121 [00:09<00:08, 7.24it/s]
end{sphinxVerbatim}
52%|█████▏ | 63/121 [00:09<00:08, 7.24it/s]
- more-to-come:
- class:
stderr
- 54%|█████▎ | 65/121 [00:09<00:07, 7.64it/s]
</pre>
- 54%|█████▎ | 65/121 [00:09<00:07, 7.64it/s]
end{sphinxVerbatim}
54%|█████▎ | 65/121 [00:09<00:07, 7.64it/s]
- more-to-come:
- class:
stderr
- 55%|█████▍ | 66/121 [00:09<00:08, 6.50it/s]
</pre>
- 55%|█████▍ | 66/121 [00:09<00:08, 6.50it/s]
end{sphinxVerbatim}
55%|█████▍ | 66/121 [00:09<00:08, 6.50it/s]
- more-to-come:
- class:
stderr
- 56%|█████▌ | 68/121 [00:09<00:06, 7.92it/s]
</pre>
- 56%|█████▌ | 68/121 [00:09<00:06, 7.92it/s]
end{sphinxVerbatim}
56%|█████▌ | 68/121 [00:09<00:06, 7.92it/s]
- more-to-come:
- class:
stderr
- 58%|█████▊ | 70/121 [00:10<00:05, 8.65it/s]
</pre>
- 58%|█████▊ | 70/121 [00:10<00:05, 8.65it/s]
end{sphinxVerbatim}
58%|█████▊ | 70/121 [00:10<00:05, 8.65it/s]
- more-to-come:
- class:
stderr
- 59%|█████▊ | 71/121 [00:10<00:06, 7.84it/s]
</pre>
- 59%|█████▊ | 71/121 [00:10<00:06, 7.84it/s]
end{sphinxVerbatim}
59%|█████▊ | 71/121 [00:10<00:06, 7.84it/s]
- more-to-come:
- class:
stderr
- 60%|█████▉ | 72/121 [00:10<00:06, 7.46it/s]
</pre>
- 60%|█████▉ | 72/121 [00:10<00:06, 7.46it/s]
end{sphinxVerbatim}
60%|█████▉ | 72/121 [00:10<00:06, 7.46it/s]
- more-to-come:
- class:
stderr
- 60%|██████ | 73/121 [00:10<00:06, 7.27it/s]
</pre>
- 60%|██████ | 73/121 [00:10<00:06, 7.27it/s]
end{sphinxVerbatim}
60%|██████ | 73/121 [00:10<00:06, 7.27it/s]
- more-to-come:
- class:
stderr
- 61%|██████ | 74/121 [00:10<00:06, 7.75it/s]
</pre>
- 61%|██████ | 74/121 [00:10<00:06, 7.75it/s]
end{sphinxVerbatim}
61%|██████ | 74/121 [00:10<00:06, 7.75it/s]
- more-to-come:
- class:
stderr
- 62%|██████▏ | 75/121 [00:10<00:05, 8.10it/s]
</pre>
- 62%|██████▏ | 75/121 [00:10<00:05, 8.10it/s]
end{sphinxVerbatim}
62%|██████▏ | 75/121 [00:10<00:05, 8.10it/s]
- more-to-come:
- class:
stderr
- 63%|██████▎ | 76/121 [00:10<00:05, 8.31it/s]
</pre>
- 63%|██████▎ | 76/121 [00:10<00:05, 8.31it/s]
end{sphinxVerbatim}
63%|██████▎ | 76/121 [00:10<00:05, 8.31it/s]
- more-to-come:
- class:
stderr
- 64%|██████▎ | 77/121 [00:11<00:05, 7.73it/s]
</pre>
- 64%|██████▎ | 77/121 [00:11<00:05, 7.73it/s]
end{sphinxVerbatim}
64%|██████▎ | 77/121 [00:11<00:05, 7.73it/s]
- more-to-come:
- class:
stderr
- 65%|██████▌ | 79/121 [00:11<00:04, 9.33it/s]
</pre>
- 65%|██████▌ | 79/121 [00:11<00:04, 9.33it/s]
end{sphinxVerbatim}
65%|██████▌ | 79/121 [00:11<00:04, 9.33it/s]
- more-to-come:
- class:
stderr
- 67%|██████▋ | 81/121 [00:11<00:04, 9.91it/s]
</pre>
- 67%|██████▋ | 81/121 [00:11<00:04, 9.91it/s]
end{sphinxVerbatim}
67%|██████▋ | 81/121 [00:11<00:04, 9.91it/s]
- more-to-come:
- class:
stderr
- 68%|██████▊ | 82/121 [00:11<00:04, 9.70it/s]
</pre>
- 68%|██████▊ | 82/121 [00:11<00:04, 9.70it/s]
end{sphinxVerbatim}
68%|██████▊ | 82/121 [00:11<00:04, 9.70it/s]
- more-to-come:
- class:
stderr
- 69%|██████▊ | 83/121 [00:11<00:03, 9.55it/s]
</pre>
- 69%|██████▊ | 83/121 [00:11<00:03, 9.55it/s]
end{sphinxVerbatim}
69%|██████▊ | 83/121 [00:11<00:03, 9.55it/s]
- more-to-come:
- class:
stderr
- 69%|██████▉ | 84/121 [00:11<00:03, 9.37it/s]
</pre>
- 69%|██████▉ | 84/121 [00:11<00:03, 9.37it/s]
end{sphinxVerbatim}
69%|██████▉ | 84/121 [00:11<00:03, 9.37it/s]
- more-to-come:
- class:
stderr
- 70%|███████ | 85/121 [00:11<00:03, 9.47it/s]
</pre>
- 70%|███████ | 85/121 [00:11<00:03, 9.47it/s]
end{sphinxVerbatim}
70%|███████ | 85/121 [00:11<00:03, 9.47it/s]
- more-to-come:
- class:
stderr
- 71%|███████ | 86/121 [00:12<00:03, 9.00it/s]
</pre>
- 71%|███████ | 86/121 [00:12<00:03, 9.00it/s]
end{sphinxVerbatim}
71%|███████ | 86/121 [00:12<00:03, 9.00it/s]
- more-to-come:
- class:
stderr
- 72%|███████▏ | 87/121 [00:12<00:03, 8.54it/s]
</pre>
- 72%|███████▏ | 87/121 [00:12<00:03, 8.54it/s]
end{sphinxVerbatim}
72%|███████▏ | 87/121 [00:12<00:03, 8.54it/s]
- more-to-come:
- class:
stderr
- 73%|███████▎ | 88/121 [00:12<00:04, 8.06it/s]
</pre>
- 73%|███████▎ | 88/121 [00:12<00:04, 8.06it/s]
end{sphinxVerbatim}
73%|███████▎ | 88/121 [00:12<00:04, 8.06it/s]
- more-to-come:
- class:
stderr
- 74%|███████▎ | 89/121 [00:12<00:03, 8.31it/s]
</pre>
- 74%|███████▎ | 89/121 [00:12<00:03, 8.31it/s]
end{sphinxVerbatim}
74%|███████▎ | 89/121 [00:12<00:03, 8.31it/s]
- more-to-come:
- class:
stderr
- 75%|███████▌ | 91/121 [00:12<00:02, 10.18it/s]
</pre>
- 75%|███████▌ | 91/121 [00:12<00:02, 10.18it/s]
end{sphinxVerbatim}
75%|███████▌ | 91/121 [00:12<00:02, 10.18it/s]
- more-to-come:
- class:
stderr
- 77%|███████▋ | 93/121 [00:12<00:02, 10.45it/s]
</pre>
- 77%|███████▋ | 93/121 [00:12<00:02, 10.45it/s]
end{sphinxVerbatim}
77%|███████▋ | 93/121 [00:12<00:02, 10.45it/s]
- more-to-come:
- class:
stderr
- 79%|███████▊ | 95/121 [00:12<00:02, 10.29it/s]
</pre>
- 79%|███████▊ | 95/121 [00:12<00:02, 10.29it/s]
end{sphinxVerbatim}
79%|███████▊ | 95/121 [00:12<00:02, 10.29it/s]
- more-to-come:
- class:
stderr
- 80%|████████ | 97/121 [00:13<00:02, 9.48it/s]
</pre>
- 80%|████████ | 97/121 [00:13<00:02, 9.48it/s]
end{sphinxVerbatim}
80%|████████ | 97/121 [00:13<00:02, 9.48it/s]
- more-to-come:
- class:
stderr
- 81%|████████ | 98/121 [00:13<00:02, 8.66it/s]
</pre>
- 81%|████████ | 98/121 [00:13<00:02, 8.66it/s]
end{sphinxVerbatim}
81%|████████ | 98/121 [00:13<00:02, 8.66it/s]
- more-to-come:
- class:
stderr
- 83%|████████▎ | 100/121 [00:13<00:02, 9.70it/s]
</pre>
- 83%|████████▎ | 100/121 [00:13<00:02, 9.70it/s]
end{sphinxVerbatim}
83%|████████▎ | 100/121 [00:13<00:02, 9.70it/s]
- more-to-come:
- class:
stderr
- 83%|████████▎ | 101/121 [00:13<00:02, 9.63it/s]
</pre>
- 83%|████████▎ | 101/121 [00:13<00:02, 9.63it/s]
end{sphinxVerbatim}
83%|████████▎ | 101/121 [00:13<00:02, 9.63it/s]
- more-to-come:
- class:
stderr
- 85%|████████▌ | 103/121 [00:13<00:01, 10.22it/s]
</pre>
- 85%|████████▌ | 103/121 [00:13<00:01, 10.22it/s]
end{sphinxVerbatim}
85%|████████▌ | 103/121 [00:13<00:01, 10.22it/s]
- more-to-come:
- class:
stderr
- 87%|████████▋ | 105/121 [00:13<00:01, 10.91it/s]
</pre>
- 87%|████████▋ | 105/121 [00:13<00:01, 10.91it/s]
end{sphinxVerbatim}
87%|████████▋ | 105/121 [00:13<00:01, 10.91it/s]
- more-to-come:
- class:
stderr
- 88%|████████▊ | 107/121 [00:14<00:01, 9.93it/s]
</pre>
- 88%|████████▊ | 107/121 [00:14<00:01, 9.93it/s]
end{sphinxVerbatim}
88%|████████▊ | 107/121 [00:14<00:01, 9.93it/s]
- more-to-come:
- class:
stderr
- 90%|█████████ | 109/121 [00:14<00:01, 8.91it/s]
</pre>
- 90%|█████████ | 109/121 [00:14<00:01, 8.91it/s]
end{sphinxVerbatim}
90%|█████████ | 109/121 [00:14<00:01, 8.91it/s]
- more-to-come:
- class:
stderr
- 92%|█████████▏| 111/121 [00:14<00:01, 9.31it/s]
</pre>
- 92%|█████████▏| 111/121 [00:14<00:01, 9.31it/s]
end{sphinxVerbatim}
92%|█████████▏| 111/121 [00:14<00:01, 9.31it/s]
- more-to-come:
- class:
stderr
- 93%|█████████▎| 113/121 [00:14<00:00, 9.53it/s]
</pre>
- 93%|█████████▎| 113/121 [00:14<00:00, 9.53it/s]
end{sphinxVerbatim}
93%|█████████▎| 113/121 [00:14<00:00, 9.53it/s]
- more-to-come:
- class:
stderr
- 94%|█████████▍| 114/121 [00:14<00:00, 9.09it/s]
</pre>
- 94%|█████████▍| 114/121 [00:14<00:00, 9.09it/s]
end{sphinxVerbatim}
94%|█████████▍| 114/121 [00:14<00:00, 9.09it/s]
- more-to-come:
- class:
stderr
- 95%|█████████▌| 115/121 [00:15<00:00, 9.02it/s]
</pre>
- 95%|█████████▌| 115/121 [00:15<00:00, 9.02it/s]
end{sphinxVerbatim}
95%|█████████▌| 115/121 [00:15<00:00, 9.02it/s]
- more-to-come:
- class:
stderr
- 97%|█████████▋| 117/121 [00:15<00:00, 9.40it/s]
</pre>
- 97%|█████████▋| 117/121 [00:15<00:00, 9.40it/s]
end{sphinxVerbatim}
97%|█████████▋| 117/121 [00:15<00:00, 9.40it/s]
- more-to-come:
- class:
stderr
- 98%|█████████▊| 118/121 [00:15<00:00, 9.27it/s]
</pre>
- 98%|█████████▊| 118/121 [00:15<00:00, 9.27it/s]
end{sphinxVerbatim}
98%|█████████▊| 118/121 [00:15<00:00, 9.27it/s]
- more-to-come:
- class:
stderr
- 99%|█████████▉| 120/121 [00:15<00:00, 9.56it/s]
</pre>
- 99%|█████████▉| 120/121 [00:15<00:00, 9.56it/s]
end{sphinxVerbatim}
99%|█████████▉| 120/121 [00:15<00:00, 9.56it/s]
- 100%|██████████| 121/121 [00:15<00:00, 7.71it/s]
</pre>
- 100%|██████████| 121/121 [00:15<00:00, 7.71it/s]
end{sphinxVerbatim}
100%|██████████| 121/121 [00:15<00:00, 7.71it/s]
We can have a look at the results:
[6]:
fig, ax = plt.subplots(1, 3, figsize=(15, 4))
pcol = ax[0].pcolormesh(ra, dec, scan.ts.reshape((11, 11)), shading="nearest")
fig.colorbar(pcol, ax=ax[0], label="TS")
pcol = ax[1].pcolormesh(ra, dec, scan.index.reshape((11, 11)), shading="nearest")
fig.colorbar(pcol, ax=ax[1], label="index")
pcol = ax[2].pcolormesh(ra, dec, scan.ns.reshape((11, 11)), shading="nearest")
fig.colorbar(pcol, ax=ax[2], label="ns")
fig.savefig("example_sky_skan.png", dpi=150)
![../_images/notebooks_point_source_analysis_10_0.png](../_images/notebooks_point_source_analysis_10_0.png)
[ ]: