Skip to content

Commit

Permalink
Update multiband_photometry.md
Browse files Browse the repository at this point in the history
This fixes the `SettingWithCopyWarning` warning. See #314
  • Loading branch information
zoghbi-a authored Aug 22, 2024
1 parent fa9688e commit 4263887
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forced_photometry/multiband_photometry.md
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ print('number of Galex detections =',np.sum(merged.galex_detect > 0))
#overplot xray sources
#first select on 24 micron
merged_24 = merged[(merged.flux_24 >= 0) ]
merged_24 = merged[(merged.flux_24 >= 0)].copy()
#negative Galex fluxes are causing problems, so set those to zero
merged_24.loc[merged_24.fuvflux < 0, 'fuvflux'] = 0
Expand Down

0 comments on commit 4263887

Please sign in to comment.