Skip to content

Commit 463d148

Browse files
re-enable get_isrc function in test script for #60
1 parent f809f37 commit 463d148

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/xspec/example_custom_run.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,6 @@ def my_custom_prior(u):
149149
plt.close()
150150

151151
# in case there are multiple spectra, you first have to get the right index:
152-
#from bxa.xspec.solver import get_isrc
153-
#i_src = get_isrc(ispectrum=1, isource=1)
154-
#flux_soft = solver.create_flux_chain(s, "0.5 2.0", i_src=i_src)
152+
from bxa.xspec.solver import get_isrc
153+
i_src = get_isrc(ispectrum=1, isource=1)
154+
flux_soft = solver.create_flux_chain(s, "0.5 2.0", i_src=i_src)

0 commit comments

Comments
 (0)