File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ def _compute_d_given_list_of_peaks(
9090) -> sc .Variable :
9191 """Determines the ``d_hkl`` peak each event belongs to,
9292 given a list of known peaks."""
93- # Source: https://www2 .mcstas.org/download/components/3.4 /contrib/NPI_tof_dhkl_detector.comp
93+ # Source: https://www .mcstas.org/download/components/current /contrib/NPI_tof_dhkl_detector.comp
9494 sinth = sc .sin (theta )
9595 t = time_of_arrival
9696
@@ -138,7 +138,7 @@ def _tof_from_dhkl(
138138 time0 : sc .Variable ,
139139) -> sc .Variable :
140140 """Computes tof for BEER given the dhkl peak that the event belongs to"""
141- # Source: https://www2 .mcstas.org/download/components/3.4 /contrib/NPI_tof_dhkl_detector.comp
141+ # Source: https://www .mcstas.org/download/components/current /contrib/NPI_tof_dhkl_detector.comp
142142 # tref = 2 * d_hkl * sin(theta) / hm * Ltotal
143143 # tc = time_of_arrival - time0 - tref
144144 # dt = floor(tc / mod_period + 0.5) * mod_period + time0
You can’t perform that action at this time.
0 commit comments