Normalize ccp4 maps: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
= Overview =
The [[normalize_ccp4_maps]] settings (default: '''on''') controls whether or not PyMOL normalizes the data from a ccp4 map file '''upon loading'''. The data is shifted and scaled so that mean=0.0 and stdev=1.0.
This setting controls whether or not PyMOL normalizes the values in a ccp4 map '''upon loading''. So, if your values are off, ''unset'' this option ''before'' loading your map.


You might need this setting if, when you load maps in other programs (eg. Coot, O) they map properly covers all atoms, but in PyMOL the map does not.
Normalization is done on the raw data array, not across the unit cell. This means that if the raw data doesn't exactly cover an integral number of asymmetric units, the result will be different than for example when loading the same file into Coot, which normalizes across the cell.


= Syntax =
'''Normalization should be turned off before loading, in cases like:'''
 
* the map file has already been normalized, for example with CCP4’s mapmask program
* you want to specify mesh contour levels in raw units (e/A^3) instead of rmsd (sigma). This is recommended if you want to make figures that match the display in Coot.
 
== Usage ==
<source lang="python">
<source lang="python">
# turn it on
# load map and normalize data
set normalize_ccp4_maps
set normalize_ccp4_maps, on
load somemap.cpp4


# turn it off (stop the normalizing)
# load map as-is (without normalization)
unset normalize_ccp4_maps
set normalize_ccp4_maps, off
load somemap.cpp4
</source>
</source>
== See Also ==
* [[normalize_o_maps]]
* [[normalize_grd_maps]]
* [[load]]
* [[isomesh]]
* [[Display_CCP4_Maps]]


[[Category:Settings]]
[[Category:Settings]]
[[Category:Electron_Density]]
[[Category:Electron_Density]]
[[Category:Maps]]
[[Category:Maps]]

Revision as of 15:37, 4 June 2015

The normalize_ccp4_maps settings (default: on) controls whether or not PyMOL normalizes the data from a ccp4 map file upon loading. The data is shifted and scaled so that mean=0.0 and stdev=1.0.

Normalization is done on the raw data array, not across the unit cell. This means that if the raw data doesn't exactly cover an integral number of asymmetric units, the result will be different than for example when loading the same file into Coot, which normalizes across the cell.

Normalization should be turned off before loading, in cases like:

  • the map file has already been normalized, for example with CCP4’s mapmask program
  • you want to specify mesh contour levels in raw units (e/A^3) instead of rmsd (sigma). This is recommended if you want to make figures that match the display in Coot.

Usage

# load map and normalize data
set normalize_ccp4_maps, on
load somemap.cpp4

# load map as-is (without normalization)
set normalize_ccp4_maps, off
load somemap.cpp4

See Also