Skip to content

Commit 28108dd

Browse files
Merge branch 'UnitTests/NeateningAndFormalising' of https://github.com/DavidT3/XGA into UnitTests/NeateningAndFormalising
2 parents ec410a8 + 66b9ee4 commit 28108dd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

xga/xspec_scripts/general_xspec_fit.xcm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ if {{($norm_scale == True) && ([lindex $par_names 0] != "factor")}} {{
8282

8383
# The confidence interval for parameter error estimation, I don't quite know what the parameter corresponds to,
8484
# but the tutorials say that 2.706 is equivalent to the 90% confidence region, 9.0 is equivalent to the 3 sigma
85-
# range, and 1.0 is equivelant to 1sigma
85+
# range, and 1.0 is equivalent to 1sigma
8686
set delta_fit_stat {el}
8787

8888
# Now the parameters that xga_extract needs
@@ -248,7 +248,7 @@ if {{$run_pre_check == True}} {{
248248

249249
# We iterate through all the parameters, and find which ones we are checking so we can calculate errors for them
250250
for {{set ipar 1}} {{$ipar <= $num_pars}} {{incr ipar}} {{
251-
# Find the equivelant parameter name for the current ipar
251+
# Find the equivalent parameter name for the current ipar
252252
scan [tcloutr pinfo $ipar] "%s %s" pname punit
253253

254254
# Check if that parameter name appears in the list of parameters we're meant to be quality checking
@@ -264,7 +264,7 @@ if {{$run_pre_check == True}} {{
264264
set lo_err [expr $par_val-$lo_conf_lim]
265265
set hi_err [expr $hi_conf_lim-$par_val]
266266

267-
# Read out the equivelant spectrum path for this particular parameter
267+
# Read out the equivalent spectrum path for this particular parameter
268268
set cur_sp [lindex $par_spec [expr $ipar-1]]
269269
# And the number of noticed channels for this spectrum
270270
set cur_chan [lindex $par_spec_chan [expr $ipar-1]]

0 commit comments

Comments
 (0)