Skip to content

Commit

Permalink
Update sex_analisis.py
Browse files Browse the repository at this point in the history
  • Loading branch information
piexpiex authored Aug 3, 2021
1 parent 3507d61 commit 9c80831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CFC_configuration/python_scripts/sex_analisis.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@
listaok[i]=0
if objects[i,FLAGS_WEIGHT]==2:
listaok[i]=0
if abs(objects[i,SNR_WIN])<5 or abs(objects[i,SNR_WIN])>0.99*10**30:
if objects[i,SNR_WIN]<5 or objects[i,SNR_WIN]>0.99*10**30:
listaok[i]=0
if np.shape(data)==(1650,1650):
if ((abs(objects[i,X_IMAGE]-825)+objects[i,A_IMAGE])**2+ (abs(objects[i,Y_IMAGE]-825)+objects[i,A_IMAGE])**2)**0.5>814:
Expand Down

0 comments on commit 9c80831

Please sign in to comment.