Skip to content

Commit f0aa602

Browse files
committed
Modify pandda_rhofit cut parameter
1 parent f759efa commit f0aa602

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/dlstbx/wrapper/pandda_xchem.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -365,10 +365,8 @@ def map_sigma(self, xmap, sigma=1):
365365
ccp4.setup(0.0)
366366
grid = ccp4.grid
367367
grid_array = np.array(grid, copy=False)
368-
std = np.std(grid_array)
369368
non_zero_std = np.std(grid_array[(grid_array < -0.05) | (grid_array > 0.05)])
370-
new_sigma = sigma * (non_zero_std / std)
371-
return new_sigma
369+
return non_zero_std * sigma
372370

373371
def expand_event_map(self, bdc, ground_state_file, xmap_file, coord, out_file):
374372
"""DEPRECATED. A method for recalculating event maps over the full cell."""

0 commit comments

Comments
 (0)