This routine takes a model and map coefficients and returns new map coefficients with density set to zero near the atoms in the model
The main uses of phenix.density_outside_model are:
Density_outside_model calculates a map from the map coefficients. Then all map values at points near an atom in the model are set to zero. Then a new set of map coefficients is calulated and written out.
Optionally the model can be trimmed so that that the last n_trim residues in each segment of the model are not included.
density_removed.mtz: An MTZ file with your new map coefficients.
Running density_outside_model is easy. From the command-line you can type:
phenix.density_outside_model pdb_in=mask_pdb.pdb \ map_coeffs.mtz
{{phil:phenix.command_line.density_outside_model}}