Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion python/agccActor/centroidTools.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def getCentroidsSep(data,iParms,cParms,spotDtype,agcid):
# diagnostic for flat topped sources
diag = np.array([data[xPos,yPos] - data[xMin,yPos],data[xPos,yPos] - data[xMax,yPos]]).min(axis=0)
diag = diag/data[xPos,yPos]
ind = np.where(diag < flatVal)
ind = np.where(np.all([diag < flatVal,result['peak_intensity'] > 40000],axis=0))
result['flags'][:][ind] += 32

# calculate more reasonable FWHMs
Expand Down