Skip to content

Commit 8ca9c0f

Browse files
committed
Fix argument order in sourcefinder/utility/sourceparams.py
1 parent c4811cf commit 8ca9c0f

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

sourcefinder/image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1415,7 +1415,6 @@ def _pyse(
14151415
sky_barycenters,
14161416
ra_errors,
14171417
dec_errors,
1418-
error_radii,
14191418
smaj_asec,
14201419
errsmaj_asec,
14211420
smin_asec,
@@ -1424,6 +1423,7 @@ def _pyse(
14241423
theta_celes_errors,
14251424
theta_dc_celes_values,
14261425
theta_dc_celes_errors,
1426+
error_radii,
14271427
sig,
14281428
chisq,
14291429
reduced_chisq,

sourcefinder/utility/sourceparams.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,11 +292,11 @@ def make_measurements_dataframe(
292292
SourceParams.SMAJ_ASEC_ERR: errsmaj_asec,
293293
SourceParams.SMIN_ASEC: smin_asec,
294294
SourceParams.SMIN_ASEC_ERR: errsmin_asec,
295-
SourceParams.THETA_CELES: theta_celes_values,
295+
SourceParams.THETA_CELES: theta_celes_values.ravel(),
296296
SourceParams.THETA_CELES_ERR: theta_celes_errors.ravel(),
297297
SourceParams.THETA_DC_CELES: theta_dc_celes_values.ravel(),
298298
SourceParams.THETA_DC_CELES_ERR: theta_dc_celes_errors.ravel(),
299-
SourceParams.ERROR_RADIUS: error_radii.ravel(),
299+
SourceParams.ERROR_RADIUS: error_radii,
300300
SourceParams.SIG: sig,
301301
SourceParams.CHISQ: chisq,
302302
SourceParams.REDUCED_CHISQ: reduced_chisq,

0 commit comments

Comments
 (0)