Skip to content

Commit 419f1c5

Browse files
authored
Merge pull request #168 from transientskp/fix_make_measurements_dataframe_argument_order
Fix argument order in sourcefinder/utility/sourceparams.py
2 parents c9ca7b0 + 8ca9c0f commit 419f1c5

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
@@ -1417,7 +1417,6 @@ def _pyse(
14171417
sky_barycenters,
14181418
ra_errors,
14191419
dec_errors,
1420-
error_radii,
14211420
smaj_asec,
14221421
errsmaj_asec,
14231422
smin_asec,
@@ -1426,6 +1425,7 @@ def _pyse(
14261425
theta_celes_errors,
14271426
theta_dc_celes_values,
14281427
theta_dc_celes_errors,
1428+
error_radii,
14291429
sig,
14301430
chisq,
14311431
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)