Enum Class DensityMapKind
- All Implemented Interfaces:
Serializable,Comparable<DensityMapKind>,java.lang.constant.Constable
The kind of density map being requested, i.e. what the values in the grid mean.
- Since:
- 7.3.0
- Author:
- Amr ALHOSSARY
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNot a map in itself: asks for whichever map the entry actually has.The primary map of a cryo-EM or cryo-ET reconstruction.The mFo-DFc difference map, showing density that the model does not account for (positive) and model that has no density to support it (negative).The 2mFo-DFc "best" map: the electron density itself, showing how the model fits the experimental data. -
Method Summary
Modifier and TypeMethodDescriptionThe short token used to distinguish this kind in a cached file name.booleanWhether this kind is conventionally displayed as a signed pair of surfaces, one positive and one negative.resolve()Expands this kind into the concrete kinds to try, in order.static DensityMapKindReturns the enum constant of this class with the specified name.static DensityMapKind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TWO_FO_FC
The 2mFo-DFc "best" map: the electron density itself, showing how the model fits the experimental data. This is what is normally meant by "the electron density" of an X-ray structure. -
FO_FC
The mFo-DFc difference map, showing density that the model does not account for (positive) and model that has no density to support it (negative). It is conventionally displayed as a signed pair of surfaces. -
EM
The primary map of a cryo-EM or cryo-ET reconstruction. Strictly this is a Coulomb potential map rather than an electron density map, and it is conventionally contoured at an absolute author-recommended level rather than in multiples of sigma. -
AUTO
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getFileToken
The short token used to distinguish this kind in a cached file name.- Returns:
- the token, or
nullforAUTO, which is never itself cached
-
resolve
Expands this kind into the concrete kinds to try, in order.- Returns:
- a single-element list for a concrete kind, or the X-ray-then-EM order
for
AUTO
-
isDifferenceMap
public boolean isDifferenceMap()Whether this kind is conventionally displayed as a signed pair of surfaces, one positive and one negative.- Returns:
trueonly forFO_FC
-