2========================================
3Release Highlights for IMP.bff 0.12.0
4========================================
6.. currentmodule:: IMP.bff
8We are pleased to announce the release of IMP.bff 0.12, which comes
9with many bug fixes and new features! We detail below a few of the major
10features of this release. For an exhaustive list of all the changes, please
11refer to the :ref:`release notes <changes_0_12>`.
13To install the latest version with conda::
15 conda install -c tpeulen imp.bff
44sel.set_residue_index(132)
46sel_particles = sel.get_selected_particles()
48path_origin = labeled_p.get_coordinates()
49path_map_header_parameter = {
50 "max_path_length": 20.0,
53 "obstacle_threshold": 1e-5
56path_map_header.set_path_origin(path_origin)
60path_map.set_particles(ps)
61path_map.sample_obstacles(extra_radius=0.0)
62path_map.update_tiles()
63start_idx = path_map.get_voxel_by_location(path_origin)
64path_map.find_path_dijkstra(start_idx, -1)
66t = path_map.get_tiles()
68path_1 = t[end_idx_1].backtrack_to_path()
71path_2 = t[end_idx_2].backtrack_to_path()
81BFF_TILE_PENALTY = path_map.get_tile_values(IMP.bff.PM_TILE_PENALTY, (0, 1))
82PM_TILE_COST = path_map.get_tile_values(IMP.bff.PM_TILE_COST, bounds)
83PM_TILE_COST_DENSITY = path_map.get_tile_values(IMP.bff.PM_TILE_COST_DENSITY, bounds)
85plt.imshow(PM_TILE_COST_DENSITY[16])
86plt.savefig(
'plot1.png')
91fig, axs = plt.subplots(1, 3, sharex=
True)
92axs[0].imshow(BFF_TILE_PENALTY[16])
93axs[1].imshow(PM_TILE_COST[16])
94axs[2].imshow(PM_TILE_COST_DENSITY[16])
95plt.savefig(
'plot2.png')
Class for storing model, its restraints, constraints, and particles.
Select hierarchy particles identified by the biological name.
Class to search path on grids.
A decorator for a particle with x,y,z coordinates.
Functionality for loading, creating, manipulating and scoring atomic structures.
Hierarchy read_pdb(TextInput input, Model *model, PDBSelector *selector=get_default_pdb_selector(), bool select_first_model=true)
Read all the molecules in the first model of the PDB file.
Hierarchies get_leaves(const Selection &h)
Bayesian Fluorescence Framework.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
Basic functionality that is expected to be used by a wide variety of IMP users.
Basic utilities for handling cryo-electron microscopy 3D density maps.