Plots
- class emdb.models.plots.BasePlot(*, title: str, x_label: str, y_label: str)[source]
Bases:
BaseModel,ABC- save(filepath: str, title: str | None = None, x_label: str | None = None, y_label: str | None = None)[source]
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- title: str
- x_label: str
- y_label: str
- class emdb.models.plots.PlotDataHistogram(*, title: str, x_label: str, y_label: str, values: List[float], counts: List[int])[source]
Bases:
BasePlot- counts: List[int]
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- values: List[float]
- class emdb.models.plots.PlotDataXY(*, title: str, x_label: str, y_label: str, x: List[float], y: List[float], recommended_contour_level: Dict[str, float] | None = None, resolution: float | None = None)[source]
Bases:
BasePlot- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- recommended_contour_level: Dict[str, float] | None
- resolution: float | None
- x: List[float]
- y: List[float]
- class emdb.models.plots.PlotFSC(*, title: str, x_label: str, y_label: str, type: str, pdb_id: str | None = None, fsc: List[float], onebit: List[float] | None = None, halfbit: List[float] | None = None, cutoff_0_5: List[float] | None = None, cutoff_0_143: List[float] | None = None, level: List[float], angstrom_resolution: List[float] | None = None, phaserandomization: List[float] | None = None, fsc_masked: List[float] | None = None, fsc_corrected: List[float] | None = None, intersections: Dict, feature_zones: Dict | None = None, resolution: float | None = None)[source]
Bases:
BasePlot- angstrom_resolution: List[float] | None
- cutoff_0_143: List[float] | None
- cutoff_0_5: List[float] | None
- feature_zones: Dict | None
- fsc: List[float]
- fsc_corrected: List[float] | None
- fsc_masked: List[float] | None
- halfbit: List[float] | None
- intersections: Dict
- level: List[float]
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- onebit: List[float] | None
- pdb_id: str | None
- phaserandomization: List[float] | None
- resolution: float | None
- type: str
- class emdb.models.plots.PlotVolumeEstimate(*, title: str, x_label: str, y_label: str, volume: List[float], level: List[float], estimated_volume: float, recommended_contour_level: Dict[str, float] | None = None)[source]
Bases:
BasePlot- estimated_volume: float
- level: List[float]
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- recommended_contour_level: Dict[str, float] | None
- volume: List[float]