Skip to content

Commit

Permalink
This should not be sqrt
Browse files Browse the repository at this point in the history
  • Loading branch information
jzuhone committed Apr 22, 2024
1 parent 6637f75 commit 30c34f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion soxs/instrument.py
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,7 @@ def simulate_spectrum(
"to simulate backgrounds! Specify a value in square "
"arcminutes."
)
bkgnd_area = np.sqrt(parse_value(bkgnd_area, "arcmin**2"))
bkgnd_area = parse_value(bkgnd_area, "arcmin**2")
elif spec is None:
raise RuntimeError("You have specified no source spectrum and no backgrounds!")

Expand Down

0 comments on commit 30c34f4

Please sign in to comment.