cavitas 0.3.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cavitas-0.3.1/PKG-INFO +187 -0
- cavitas-0.3.1/README.md +136 -0
- cavitas-0.3.1/cavitas/__init__.py +208 -0
- cavitas-0.3.1/cavitas/__init__.pyi +80 -0
- cavitas-0.3.1/cavitas/__main__.py +480 -0
- cavitas-0.3.1/cavitas/agent/__init__.py +10 -0
- cavitas-0.3.1/cavitas/agent/app_cli.py +246 -0
- cavitas-0.3.1/cavitas/agent/app_socket.py +105 -0
- cavitas-0.3.1/cavitas/agent/assets/SKILL.md +221 -0
- cavitas-0.3.1/cavitas/agent/channel.py +326 -0
- cavitas-0.3.1/cavitas/agent/cli.py +495 -0
- cavitas-0.3.1/cavitas/agent/cli_grammar.py +135 -0
- cavitas-0.3.1/cavitas/agent/cli_output.py +13 -0
- cavitas-0.3.1/cavitas/agent/cli_selection.py +43 -0
- cavitas-0.3.1/cavitas/agent/errors.py +5 -0
- cavitas-0.3.1/cavitas/agent/hub.py +239 -0
- cavitas-0.3.1/cavitas/agent/identity.py +5 -0
- cavitas-0.3.1/cavitas/agent/layers_cli.py +25 -0
- cavitas-0.3.1/cavitas/agent/messages.py +136 -0
- cavitas-0.3.1/cavitas/agent/target.py +51 -0
- cavitas-0.3.1/cavitas/batch.py +139 -0
- cavitas-0.3.1/cavitas/bondcheck.py +214 -0
- cavitas-0.3.1/cavitas/bonding.py +288 -0
- cavitas-0.3.1/cavitas/cache.py +190 -0
- cavitas-0.3.1/cavitas/cavity/__init__.py +99 -0
- cavitas-0.3.1/cavitas/cavity/__init__.pyi +23 -0
- cavitas-0.3.1/cavitas/cavity/__main__.py +69 -0
- cavitas-0.3.1/cavitas/cavity/analysis.py +311 -0
- cavitas-0.3.1/cavitas/cavity/clearance.py +212 -0
- cavitas-0.3.1/cavitas/cavity/component.py +78 -0
- cavitas-0.3.1/cavitas/cavity/configurations.py +313 -0
- cavitas-0.3.1/cavitas/cavity/detection.py +412 -0
- cavitas-0.3.1/cavitas/cavity/engine/__init__.py +24 -0
- cavitas-0.3.1/cavitas/cavity/engine/ascent.py +45 -0
- cavitas-0.3.1/cavitas/cavity/engine/batch.py +42 -0
- cavitas-0.3.1/cavitas/cavity/engine/geometry.py +341 -0
- cavitas-0.3.1/cavitas/cavity/engine/map.py +306 -0
- cavitas-0.3.1/cavitas/cavity/engine/native.py +105 -0
- cavitas-0.3.1/cavitas/cavity/engine/repetition.py +77 -0
- cavitas-0.3.1/cavitas/cavity/engine/spacegroup.py +78 -0
- cavitas-0.3.1/cavitas/cavity/engine/view.py +327 -0
- cavitas-0.3.1/cavitas/cavity/engine/widest.py +42 -0
- cavitas-0.3.1/cavitas/cavity/families.py +189 -0
- cavitas-0.3.1/cavitas/cavity/grid.py +111 -0
- cavitas-0.3.1/cavitas/cavity/nearest.py +31 -0
- cavitas-0.3.1/cavitas/cavity/network.py +339 -0
- cavitas-0.3.1/cavitas/cavity/network_basins.py +36 -0
- cavitas-0.3.1/cavitas/cavity/network_geometry.py +80 -0
- cavitas-0.3.1/cavitas/cavity/network_orbits.py +69 -0
- cavitas-0.3.1/cavitas/cavity/network_regions.py +73 -0
- cavitas-0.3.1/cavitas/cavity/optimize.py +141 -0
- cavitas-0.3.1/cavitas/cavity/regions.py +134 -0
- cavitas-0.3.1/cavitas/cavity/scan.py +221 -0
- cavitas-0.3.1/cavitas/cavity/stationarity.py +97 -0
- cavitas-0.3.1/cavitas/cavity/symmetry.py +295 -0
- cavitas-0.3.1/cavitas/cavity/tessellation.py +38 -0
- cavitas-0.3.1/cavitas/cavity/tracking.py +254 -0
- cavitas-0.3.1/cavitas/checks/__init__.py +16 -0
- cavitas-0.3.1/cavitas/checks/findings.py +25 -0
- cavitas-0.3.1/cavitas/checks/frames.py +109 -0
- cavitas-0.3.1/cavitas/checks/mofchecker_data.py +45 -0
- cavitas-0.3.1/cavitas/checks/pairs.py +133 -0
- cavitas-0.3.1/cavitas/checks/policy.py +107 -0
- cavitas-0.3.1/cavitas/checks/runner.py +116 -0
- cavitas-0.3.1/cavitas/checks/structure.py +135 -0
- cavitas-0.3.1/cavitas/checks/view.py +66 -0
- cavitas-0.3.1/cavitas/cli_parser.py +301 -0
- cavitas-0.3.1/cavitas/colors.py +65 -0
- cavitas-0.3.1/cavitas/components/__init__.py +1 -0
- cavitas-0.3.1/cavitas/components/cavity/__init__.py +9 -0
- cavitas-0.3.1/cavitas/components/cavity/__main__.py +6 -0
- cavitas-0.3.1/cavitas/config.py +80 -0
- cavitas-0.3.1/cavitas/data/atomic-masses.json +125 -0
- cavitas-0.3.1/cavitas/data/cordero-2008.json +102 -0
- cavitas-0.3.1/cavitas/data/jmol-colors.json +115 -0
- cavitas-0.3.1/cavitas/data/pymatgen-atomic.json +99 -0
- cavitas-0.3.1/cavitas/data/pymatgen-bond-lengths.json +42 -0
- cavitas-0.3.1/cavitas/data/vesta-2019.json +918 -0
- cavitas-0.3.1/cavitas/devices.py +92 -0
- cavitas-0.3.1/cavitas/export/__init__.py +20 -0
- cavitas-0.3.1/cavitas/export/chemiscope.py +194 -0
- cavitas-0.3.1/cavitas/export/poses.py +418 -0
- cavitas-0.3.1/cavitas/export/sources.py +112 -0
- cavitas-0.3.1/cavitas/export/store.py +413 -0
- cavitas-0.3.1/cavitas/export/time_limit.py +72 -0
- cavitas-0.3.1/cavitas/export_ppt_models.py +9 -0
- cavitas-0.3.1/cavitas/field_surface.py +239 -0
- cavitas-0.3.1/cavitas/figures/__init__.py +453 -0
- cavitas-0.3.1/cavitas/figures/plates/__init__.py +15 -0
- cavitas-0.3.1/cavitas/figures/plates/clearance.py +106 -0
- cavitas-0.3.1/cavitas/figures/plates/composition.py +193 -0
- cavitas-0.3.1/cavitas/figures/plates/counts.py +132 -0
- cavitas-0.3.1/cavitas/figures/plates/curves.py +158 -0
- cavitas-0.3.1/cavitas/figures/plates/fit.py +185 -0
- cavitas-0.3.1/cavitas/figures/plates/loading.py +139 -0
- cavitas-0.3.1/cavitas/figures/plates/orientation.py +105 -0
- cavitas-0.3.1/cavitas/figures/plates/sizes.py +101 -0
- cavitas-0.3.1/cavitas/figures/plates/tolerance.py +288 -0
- cavitas-0.3.1/cavitas/figures/plots/__init__.py +12 -0
- cavitas-0.3.1/cavitas/figures/plots/band.py +67 -0
- cavitas-0.3.1/cavitas/figures/plots/barh.py +35 -0
- cavitas-0.3.1/cavitas/figures/plots/density.py +98 -0
- cavitas-0.3.1/cavitas/figures/plots/dumbbell.py +59 -0
- cavitas-0.3.1/cavitas/figures/plots/quantiles.py +53 -0
- cavitas-0.3.1/cavitas/figures/plots/ring.py +96 -0
- cavitas-0.3.1/cavitas/figures/plots/stacked_barh.py +110 -0
- cavitas-0.3.1/cavitas/figures/presentation.py +258 -0
- cavitas-0.3.1/cavitas/figures/store.py +339 -0
- cavitas-0.3.1/cavitas/figures/style.py +444 -0
- cavitas-0.3.1/cavitas/files.py +151 -0
- cavitas-0.3.1/cavitas/formula.py +18 -0
- cavitas-0.3.1/cavitas/guest/__init__.py +69 -0
- cavitas-0.3.1/cavitas/guest/__init__.pyi +14 -0
- cavitas-0.3.1/cavitas/guest/geometry.py +271 -0
- cavitas-0.3.1/cavitas/guest/identity.py +44 -0
- cavitas-0.3.1/cavitas/guest/insertion.py +495 -0
- cavitas-0.3.1/cavitas/guest/loading.py +136 -0
- cavitas-0.3.1/cavitas/guest/measure.py +128 -0
- cavitas-0.3.1/cavitas/guest/occupancy.py +272 -0
- cavitas-0.3.1/cavitas/guest/pose_search.py +341 -0
- cavitas-0.3.1/cavitas/hydrogen.py +232 -0
- cavitas-0.3.1/cavitas/identity.py +167 -0
- cavitas-0.3.1/cavitas/native.py +41 -0
- cavitas-0.3.1/cavitas/optimade.py +438 -0
- cavitas-0.3.1/cavitas/queries.py +271 -0
- cavitas-0.3.1/cavitas/radii.py +213 -0
- cavitas-0.3.1/cavitas/recipe.py +259 -0
- cavitas-0.3.1/cavitas/settings.py +388 -0
- cavitas-0.3.1/cavitas/show.py +331 -0
- cavitas-0.3.1/cavitas/site_arrays.py +223 -0
- cavitas-0.3.1/cavitas/studio/__init__.py +86 -0
- cavitas-0.3.1/cavitas/studio/app_search.py +427 -0
- cavitas-0.3.1/cavitas/studio/array_frames.py +126 -0
- cavitas-0.3.1/cavitas/studio/arrows.py +212 -0
- cavitas-0.3.1/cavitas/studio/assets/THIRD-PARTY.md +84 -0
- cavitas-0.3.1/cavitas/studio/assets/cavitas-static.html +11497 -0
- cavitas-0.3.1/cavitas/studio/assets/cavitas-ui.html +11485 -0
- cavitas-0.3.1/cavitas/studio/assets/embed/axes.js +1 -0
- cavitas-0.3.1/cavitas/studio/assets/embed/borders.js +1 -0
- cavitas-0.3.1/cavitas/studio/assets/embed/completion.js +1 -0
- cavitas-0.3.1/cavitas/studio/assets/embed/core.js +1 -0
- cavitas-0.3.1/cavitas/studio/assets/embed/fog.js +1 -0
- cavitas-0.3.1/cavitas/studio/assets/embed/keys.js +1 -0
- cavitas-0.3.1/cavitas/studio/assets/embed/manifest.json +99 -0
- cavitas-0.3.1/cavitas/studio/assets/embed/pan.js +1 -0
- cavitas-0.3.1/cavitas/studio/assets/embed/pill.js +1 -0
- cavitas-0.3.1/cavitas/studio/assets/embed/playback.js +1 -0
- cavitas-0.3.1/cavitas/studio/assets/embed/rates.js +1 -0
- cavitas-0.3.1/cavitas/studio/assets/embed/touch.js +1 -0
- cavitas-0.3.1/cavitas/studio/assets/embed/wheel.js +1 -0
- cavitas-0.3.1/cavitas/studio/assets/embed/zoom-buttons.js +1 -0
- cavitas-0.3.1/cavitas/studio/assets/layers-contributions.schema.json +1989 -0
- cavitas-0.3.1/cavitas/studio/assets/layers-operation.schema.json +2042 -0
- cavitas-0.3.1/cavitas/studio/assets/layers-patch.schema.json +1926 -0
- cavitas-0.3.1/cavitas/studio/assets/layers.schema.json +1897 -0
- cavitas-0.3.1/cavitas/studio/assets/python-parameters.json +1615 -0
- cavitas-0.3.1/cavitas/studio/assets/settings.schema.json +1471 -0
- cavitas-0.3.1/cavitas/studio/assets/themes.json +20 -0
- cavitas-0.3.1/cavitas/studio/atom_text.py +82 -0
- cavitas-0.3.1/cavitas/studio/band.py +233 -0
- cavitas-0.3.1/cavitas/studio/box.py +375 -0
- cavitas-0.3.1/cavitas/studio/bundle.py +109 -0
- cavitas-0.3.1/cavitas/studio/capture_check.py +137 -0
- cavitas-0.3.1/cavitas/studio/cavity_layer.py +194 -0
- cavitas-0.3.1/cavitas/studio/cavity_partial.py +43 -0
- cavitas-0.3.1/cavitas/studio/cavity_text.py +98 -0
- cavitas-0.3.1/cavitas/studio/cavity_track.py +764 -0
- cavitas-0.3.1/cavitas/studio/cell_origin.py +206 -0
- cavitas-0.3.1/cavitas/studio/codec_blocks.py +192 -0
- cavitas-0.3.1/cavitas/studio/codec_polyhedra.py +138 -0
- cavitas-0.3.1/cavitas/studio/colorimetry.py +261 -0
- cavitas-0.3.1/cavitas/studio/comm_pieces.py +184 -0
- cavitas-0.3.1/cavitas/studio/contacts.py +157 -0
- cavitas-0.3.1/cavitas/studio/correspondence.py +305 -0
- cavitas-0.3.1/cavitas/studio/covers.py +875 -0
- cavitas-0.3.1/cavitas/studio/cut_plane.py +47 -0
- cavitas-0.3.1/cavitas/studio/declined.py +161 -0
- cavitas-0.3.1/cavitas/studio/device_page.py +78 -0
- cavitas-0.3.1/cavitas/studio/display_primitives.py +32 -0
- cavitas-0.3.1/cavitas/studio/document.py +527 -0
- cavitas-0.3.1/cavitas/studio/document_cavities.py +171 -0
- cavitas-0.3.1/cavitas/studio/document_codec.py +380 -0
- cavitas-0.3.1/cavitas/studio/document_inputs.py +113 -0
- cavitas-0.3.1/cavitas/studio/document_regions.py +129 -0
- cavitas-0.3.1/cavitas/studio/editor.py +198 -0
- cavitas-0.3.1/cavitas/studio/embed.py +361 -0
- cavitas-0.3.1/cavitas/studio/export.py +382 -0
- cavitas-0.3.1/cavitas/studio/export_bonds.py +292 -0
- cavitas-0.3.1/cavitas/studio/export_labels.py +81 -0
- cavitas-0.3.1/cavitas/studio/export_primitives.py +87 -0
- cavitas-0.3.1/cavitas/studio/export_scene.py +82 -0
- cavitas-0.3.1/cavitas/studio/figure.py +238 -0
- cavitas-0.3.1/cavitas/studio/frame_card.py +186 -0
- cavitas-0.3.1/cavitas/studio/frame_cohorts.py +97 -0
- cavitas-0.3.1/cavitas/studio/frame_motion.py +185 -0
- cavitas-0.3.1/cavitas/studio/frame_pool.py +182 -0
- cavitas-0.3.1/cavitas/studio/frame_scripts.py +225 -0
- cavitas-0.3.1/cavitas/studio/frame_set.py +171 -0
- cavitas-0.3.1/cavitas/studio/frame_store_host.py +121 -0
- cavitas-0.3.1/cavitas/studio/labels.py +274 -0
- cavitas-0.3.1/cavitas/studio/layer_binding.py +252 -0
- cavitas-0.3.1/cavitas/studio/layers.py +100 -0
- cavitas-0.3.1/cavitas/studio/legend.py +104 -0
- cavitas-0.3.1/cavitas/studio/link_group.py +59 -0
- cavitas-0.3.1/cavitas/studio/link_relay.py +110 -0
- cavitas-0.3.1/cavitas/studio/link_session.py +428 -0
- cavitas-0.3.1/cavitas/studio/model_files.py +243 -0
- cavitas-0.3.1/cavitas/studio/molecular_match.py +102 -0
- cavitas-0.3.1/cavitas/studio/molecules.py +208 -0
- cavitas-0.3.1/cavitas/studio/movie.py +455 -0
- cavitas-0.3.1/cavitas/studio/movie_files.py +161 -0
- cavitas-0.3.1/cavitas/studio/page.py +480 -0
- cavitas-0.3.1/cavitas/studio/page_driver.py +177 -0
- cavitas-0.3.1/cavitas/studio/palette.py +254 -0
- cavitas-0.3.1/cavitas/studio/panel_browse.py +193 -0
- cavitas-0.3.1/cavitas/studio/panel_export.py +332 -0
- cavitas-0.3.1/cavitas/studio/panel_messages.py +34 -0
- cavitas-0.3.1/cavitas/studio/part_edge.py +106 -0
- cavitas-0.3.1/cavitas/studio/part_select.py +94 -0
- cavitas-0.3.1/cavitas/studio/parts.py +470 -0
- cavitas-0.3.1/cavitas/studio/periodic_context.py +288 -0
- cavitas-0.3.1/cavitas/studio/picture_legend.py +316 -0
- cavitas-0.3.1/cavitas/studio/polyhedra.py +461 -0
- cavitas-0.3.1/cavitas/studio/poses.py +95 -0
- cavitas-0.3.1/cavitas/studio/ppt_models.py +133 -0
- cavitas-0.3.1/cavitas/studio/present.py +481 -0
- cavitas-0.3.1/cavitas/studio/preview.py +150 -0
- cavitas-0.3.1/cavitas/studio/properties.py +250 -0
- cavitas-0.3.1/cavitas/studio/reach.py +183 -0
- cavitas-0.3.1/cavitas/studio/readers.py +510 -0
- cavitas-0.3.1/cavitas/studio/records.py +203 -0
- cavitas-0.3.1/cavitas/studio/scene_bonding.py +182 -0
- cavitas-0.3.1/cavitas/studio/scene_bonds.py +127 -0
- cavitas-0.3.1/cavitas/studio/scene_keywords.py +110 -0
- cavitas-0.3.1/cavitas/studio/scene_search.py +231 -0
- cavitas-0.3.1/cavitas/studio/selection.py +438 -0
- cavitas-0.3.1/cavitas/studio/selection_members.py +326 -0
- cavitas-0.3.1/cavitas/studio/selection_view.py +217 -0
- cavitas-0.3.1/cavitas/studio/serving.py +419 -0
- cavitas-0.3.1/cavitas/studio/session.py +424 -0
- cavitas-0.3.1/cavitas/studio/shapes.py +346 -0
- cavitas-0.3.1/cavitas/studio/split.py +408 -0
- cavitas-0.3.1/cavitas/studio/static_document.py +173 -0
- cavitas-0.3.1/cavitas/studio/static_export.py +121 -0
- cavitas-0.3.1/cavitas/studio/still_page.py +226 -0
- cavitas-0.3.1/cavitas/studio/stream_serving.py +194 -0
- cavitas-0.3.1/cavitas/studio/stream_store.py +195 -0
- cavitas-0.3.1/cavitas/studio/stream_whole.py +120 -0
- cavitas-0.3.1/cavitas/studio/streams.py +476 -0
- cavitas-0.3.1/cavitas/studio/structure_files.py +69 -0
- cavitas-0.3.1/cavitas/studio/structures.py +173 -0
- cavitas-0.3.1/cavitas/studio/style_arguments.py +173 -0
- cavitas-0.3.1/cavitas/studio/together.py +65 -0
- cavitas-0.3.1/cavitas/studio/trace.py +297 -0
- cavitas-0.3.1/cavitas/studio/trace_moving.py +176 -0
- cavitas-0.3.1/cavitas/studio/trace_stack.py +346 -0
- cavitas-0.3.1/cavitas/studio/trail.py +423 -0
- cavitas-0.3.1/cavitas/studio/trajectory.py +482 -0
- cavitas-0.3.1/cavitas/studio/trajectory_view.py +273 -0
- cavitas-0.3.1/cavitas/studio/transport.py +249 -0
- cavitas-0.3.1/cavitas/studio/tunnels.py +171 -0
- cavitas-0.3.1/cavitas/studio/vectors.py +69 -0
- cavitas-0.3.1/cavitas/studio/view_build.py +155 -0
- cavitas-0.3.1/cavitas/studio/view_extras.py +142 -0
- cavitas-0.3.1/cavitas/studio/view_options.py +395 -0
- cavitas-0.3.1/cavitas/studio/view_panel.py +251 -0
- cavitas-0.3.1/cavitas/studio/view_search.py +292 -0
- cavitas-0.3.1/cavitas/studio/volume_layer.py +102 -0
- cavitas-0.3.1/cavitas/studio/web.py +533 -0
- cavitas-0.3.1/cavitas/studio/widget_script.py +267 -0
- cavitas-0.3.1/cavitas/studio/widget_transport.py +378 -0
- cavitas-0.3.1/cavitas/studio/widgets.py +80 -0
- cavitas-0.3.1/cavitas/topology.py +452 -0
- cavitas-0.3.1/cavitas/valence.py +194 -0
- cavitas-0.3.1/cavitas/viewer/__init__.py +41 -0
- cavitas-0.3.1/cavitas/volume.py +434 -0
- cavitas-0.3.1/cavitas/volume_tetra.py +85 -0
- cavitas-0.3.1/cavitas.egg-info/PKG-INFO +187 -0
- cavitas-0.3.1/cavitas.egg-info/SOURCES.txt +424 -0
- cavitas-0.3.1/cavitas.egg-info/dependency_links.txt +1 -0
- cavitas-0.3.1/cavitas.egg-info/entry_points.txt +2 -0
- cavitas-0.3.1/cavitas.egg-info/requires.txt +33 -0
- cavitas-0.3.1/cavitas.egg-info/top_level.txt +1 -0
- cavitas-0.3.1/pyproject.toml +143 -0
- cavitas-0.3.1/setup.cfg +4 -0
- cavitas-0.3.1/tests/test_agent_alive.py +31 -0
- cavitas-0.3.1/tests/test_agent_app_socket.py +67 -0
- cavitas-0.3.1/tests/test_agent_channel.py +225 -0
- cavitas-0.3.1/tests/test_agent_identity.py +56 -0
- cavitas-0.3.1/tests/test_agent_round_trip.py +150 -0
- cavitas-0.3.1/tests/test_app_search_serve.py +142 -0
- cavitas-0.3.1/tests/test_arrows.py +341 -0
- cavitas-0.3.1/tests/test_atom_sizes.py +80 -0
- cavitas-0.3.1/tests/test_atom_text.py +98 -0
- cavitas-0.3.1/tests/test_atomic_masses.py +31 -0
- cavitas-0.3.1/tests/test_band.py +66 -0
- cavitas-0.3.1/tests/test_batch.py +146 -0
- cavitas-0.3.1/tests/test_bondcheck.py +145 -0
- cavitas-0.3.1/tests/test_bonding.py +132 -0
- cavitas-0.3.1/tests/test_box_cuts.py +112 -0
- cavitas-0.3.1/tests/test_bug_scan_pi7.py +51 -0
- cavitas-0.3.1/tests/test_capture_check.py +42 -0
- cavitas-0.3.1/tests/test_cavity_component.py +16 -0
- cavitas-0.3.1/tests/test_cavity_configurations.py +173 -0
- cavitas-0.3.1/tests/test_cavity_detection.py +380 -0
- cavitas-0.3.1/tests/test_cavity_family_names.py +9 -0
- cavitas-0.3.1/tests/test_cavity_grid.py +82 -0
- cavitas-0.3.1/tests/test_cavity_network.py +122 -0
- cavitas-0.3.1/tests/test_cavity_regions.py +221 -0
- cavitas-0.3.1/tests/test_cavity_text.py +154 -0
- cavitas-0.3.1/tests/test_cavity_tracking.py +101 -0
- cavitas-0.3.1/tests/test_cell_origin.py +64 -0
- cavitas-0.3.1/tests/test_checks.py +186 -0
- cavitas-0.3.1/tests/test_cli.py +310 -0
- cavitas-0.3.1/tests/test_component_boundaries.py +228 -0
- cavitas-0.3.1/tests/test_covering.py +254 -0
- cavitas-0.3.1/tests/test_cut_plane.py +74 -0
- cavitas-0.3.1/tests/test_density_tetra.py +70 -0
- cavitas-0.3.1/tests/test_devices.py +60 -0
- cavitas-0.3.1/tests/test_element_colors.py +109 -0
- cavitas-0.3.1/tests/test_embed.py +182 -0
- cavitas-0.3.1/tests/test_export_poses.py +494 -0
- cavitas-0.3.1/tests/test_export_ppt_models.py +63 -0
- cavitas-0.3.1/tests/test_export_time_limit.py +57 -0
- cavitas-0.3.1/tests/test_export_views.py +203 -0
- cavitas-0.3.1/tests/test_field_surface.py +107 -0
- cavitas-0.3.1/tests/test_figure.py +126 -0
- cavitas-0.3.1/tests/test_figures.py +476 -0
- cavitas-0.3.1/tests/test_figures_style.py +273 -0
- cavitas-0.3.1/tests/test_files.py +158 -0
- cavitas-0.3.1/tests/test_frame_card.py +97 -0
- cavitas-0.3.1/tests/test_frame_cohorts.py +60 -0
- cavitas-0.3.1/tests/test_guest_identity.py +54 -0
- cavitas-0.3.1/tests/test_guest_insertion.py +449 -0
- cavitas-0.3.1/tests/test_guest_loading.py +104 -0
- cavitas-0.3.1/tests/test_guest_measure.py +192 -0
- cavitas-0.3.1/tests/test_guest_occupancy.py +390 -0
- cavitas-0.3.1/tests/test_hydrogen.py +135 -0
- cavitas-0.3.1/tests/test_labels.py +157 -0
- cavitas-0.3.1/tests/test_layer_binding.py +57 -0
- cavitas-0.3.1/tests/test_layer_schema_review.py +63 -0
- cavitas-0.3.1/tests/test_legend_kinds.py +22 -0
- cavitas-0.3.1/tests/test_link_group.py +48 -0
- cavitas-0.3.1/tests/test_live_text.py +178 -0
- cavitas-0.3.1/tests/test_mixed_occupancy.py +54 -0
- cavitas-0.3.1/tests/test_native_cavity.py +309 -0
- cavitas-0.3.1/tests/test_native_frames.py +238 -0
- cavitas-0.3.1/tests/test_native_geometry.py +127 -0
- cavitas-0.3.1/tests/test_native_io.py +361 -0
- cavitas-0.3.1/tests/test_native_polyhedra.py +89 -0
- cavitas-0.3.1/tests/test_native_scene.py +98 -0
- cavitas-0.3.1/tests/test_native_store.py +202 -0
- cavitas-0.3.1/tests/test_native_topology.py +113 -0
- cavitas-0.3.1/tests/test_one_command.py +273 -0
- cavitas-0.3.1/tests/test_optimize.py +54 -0
- cavitas-0.3.1/tests/test_package_layout.py +66 -0
- cavitas-0.3.1/tests/test_picture_legend.py +231 -0
- cavitas-0.3.1/tests/test_plain_atoms.py +62 -0
- cavitas-0.3.1/tests/test_python_parameters.py +208 -0
- cavitas-0.3.1/tests/test_queries.py +209 -0
- cavitas-0.3.1/tests/test_recipe.py +171 -0
- cavitas-0.3.1/tests/test_region_periodic.py +72 -0
- cavitas-0.3.1/tests/test_region_segments.py +33 -0
- cavitas-0.3.1/tests/test_save_axes.py +89 -0
- cavitas-0.3.1/tests/test_settings_component.py +115 -0
- cavitas-0.3.1/tests/test_shape_meshes_drawn.py +178 -0
- cavitas-0.3.1/tests/test_shapes.py +124 -0
- cavitas-0.3.1/tests/test_show.py +712 -0
- cavitas-0.3.1/tests/test_site_arrays.py +66 -0
- cavitas-0.3.1/tests/test_still_page.py +146 -0
- cavitas-0.3.1/tests/test_text_lines_and_borders.py +64 -0
- cavitas-0.3.1/tests/test_tolerance.py +301 -0
- cavitas-0.3.1/tests/test_trail.py +247 -0
- cavitas-0.3.1/tests/test_traj_reader.py +49 -0
- cavitas-0.3.1/tests/test_transport_agent.py +54 -0
- cavitas-0.3.1/tests/test_transport_notebook.py +472 -0
- cavitas-0.3.1/tests/test_transport_pieces.py +162 -0
- cavitas-0.3.1/tests/test_valence.py +103 -0
- cavitas-0.3.1/tests/test_viewer_array_trajectory.py +97 -0
- cavitas-0.3.1/tests/test_viewer_cavity_partial.py +54 -0
- cavitas-0.3.1/tests/test_viewer_contacts.py +144 -0
- cavitas-0.3.1/tests/test_viewer_correspondence.py +175 -0
- cavitas-0.3.1/tests/test_viewer_cut_fixture.py +82 -0
- cavitas-0.3.1/tests/test_viewer_declined.py +152 -0
- cavitas-0.3.1/tests/test_viewer_document.py +432 -0
- cavitas-0.3.1/tests/test_viewer_document_codec.py +363 -0
- cavitas-0.3.1/tests/test_viewer_editor.py +258 -0
- cavitas-0.3.1/tests/test_viewer_export.py +346 -0
- cavitas-0.3.1/tests/test_viewer_frame_cache.py +192 -0
- cavitas-0.3.1/tests/test_viewer_frame_memory.py +53 -0
- cavitas-0.3.1/tests/test_viewer_frame_pool.py +59 -0
- cavitas-0.3.1/tests/test_viewer_frame_poses.py +217 -0
- cavitas-0.3.1/tests/test_viewer_lazy_polyhedra.py +213 -0
- cavitas-0.3.1/tests/test_viewer_molecules.py +242 -0
- cavitas-0.3.1/tests/test_viewer_palette.py +236 -0
- cavitas-0.3.1/tests/test_viewer_panel_browse.py +176 -0
- cavitas-0.3.1/tests/test_viewer_panel_export.py +402 -0
- cavitas-0.3.1/tests/test_viewer_parts.py +378 -0
- cavitas-0.3.1/tests/test_viewer_periodic_context.py +292 -0
- cavitas-0.3.1/tests/test_viewer_points_kernel.py +31 -0
- cavitas-0.3.1/tests/test_viewer_points_md.py +166 -0
- cavitas-0.3.1/tests/test_viewer_polyhedra.py +371 -0
- cavitas-0.3.1/tests/test_viewer_poses.py +95 -0
- cavitas-0.3.1/tests/test_viewer_present.py +533 -0
- cavitas-0.3.1/tests/test_viewer_preview.py +217 -0
- cavitas-0.3.1/tests/test_viewer_properties.py +182 -0
- cavitas-0.3.1/tests/test_viewer_reach.py +123 -0
- cavitas-0.3.1/tests/test_viewer_readers.py +128 -0
- cavitas-0.3.1/tests/test_viewer_records.py +65 -0
- cavitas-0.3.1/tests/test_viewer_retired_spellings.py +26 -0
- cavitas-0.3.1/tests/test_viewer_scene_pieces.py +98 -0
- cavitas-0.3.1/tests/test_viewer_search.py +747 -0
- cavitas-0.3.1/tests/test_viewer_serving.py +183 -0
- cavitas-0.3.1/tests/test_viewer_session.py +621 -0
- cavitas-0.3.1/tests/test_viewer_settings_sync.py +530 -0
- cavitas-0.3.1/tests/test_viewer_split.py +300 -0
- cavitas-0.3.1/tests/test_viewer_static_export.py +219 -0
- cavitas-0.3.1/tests/test_viewer_streams.py +482 -0
- cavitas-0.3.1/tests/test_viewer_together.py +72 -0
- cavitas-0.3.1/tests/test_viewer_trace.py +341 -0
- cavitas-0.3.1/tests/test_viewer_transport.py +566 -0
- cavitas-0.3.1/tests/test_viewer_web.py +719 -0
- cavitas-0.3.1/tests/test_viewer_whole_cache.py +100 -0
- cavitas-0.3.1/tests/test_volume.py +233 -0
- cavitas-0.3.1/tests/test_volume_controls.py +68 -0
- cavitas-0.3.1/tests/test_volume_picture.py +117 -0
cavitas-0.3.1/PKG-INFO
ADDED
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: cavitas
|
|
3
|
+
Version: 0.3.1
|
|
4
|
+
Summary: Periodic cavity detection and deterministic rigid-guest insertion
|
|
5
|
+
License-Expression: MIT
|
|
6
|
+
Project-URL: Homepage, https://github.com/deng-group/cavitas
|
|
7
|
+
Project-URL: Documentation, https://github.com/deng-group/cavitas/blob/main/docs/README.md
|
|
8
|
+
Project-URL: Source, https://github.com/deng-group/cavitas
|
|
9
|
+
Project-URL: Issues, https://github.com/deng-group/cavitas/issues
|
|
10
|
+
Keywords: molecular dynamics,trajectory viewer,crystal structure,periodic structures,materials science,computational chemistry,visualization,jupyter,notebook,webgl,cif,poscar,xdatcar,extxyz,vasp,ase,pymatgen,metal-organic frameworks,porous materials,cavity detection,host-guest,ai agents
|
|
11
|
+
Classifier: Development Status :: 3 - Alpha
|
|
12
|
+
Classifier: Intended Audience :: Science/Research
|
|
13
|
+
Classifier: Topic :: Scientific/Engineering :: Chemistry
|
|
14
|
+
Classifier: Topic :: Scientific/Engineering :: Physics
|
|
15
|
+
Classifier: Topic :: Scientific/Engineering :: Visualization
|
|
16
|
+
Classifier: Framework :: Jupyter
|
|
17
|
+
Classifier: Framework :: Jupyter :: JupyterLab
|
|
18
|
+
Classifier: Programming Language :: Python :: 3
|
|
19
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
+
Classifier: Programming Language :: JavaScript
|
|
23
|
+
Classifier: Operating System :: OS Independent
|
|
24
|
+
Requires-Python: <3.13,>=3.11
|
|
25
|
+
Description-Content-Type: text/markdown
|
|
26
|
+
Requires-Dist: ase>=3.23
|
|
27
|
+
Requires-Dist: numpy>=1.26
|
|
28
|
+
Requires-Dist: pymatgen>=2024.1
|
|
29
|
+
Requires-Dist: scipy>=1.12
|
|
30
|
+
Provides-Extra: viewer
|
|
31
|
+
Requires-Dist: ipython>=8; extra == "viewer"
|
|
32
|
+
Requires-Dist: trimesh>=4.6; extra == "viewer"
|
|
33
|
+
Requires-Dist: jsonschema>=4.18; extra == "viewer"
|
|
34
|
+
Provides-Extra: widget
|
|
35
|
+
Requires-Dist: anywidget>=0.9; extra == "widget"
|
|
36
|
+
Provides-Extra: figures
|
|
37
|
+
Requires-Dist: matplotlib>=3.7; extra == "figures"
|
|
38
|
+
Requires-Dist: tqdm>=4.66; extra == "figures"
|
|
39
|
+
Provides-Extra: test
|
|
40
|
+
Requires-Dist: pytest>=8; extra == "test"
|
|
41
|
+
Requires-Dist: pytest-xdist>=3; extra == "test"
|
|
42
|
+
Requires-Dist: jsonschema>=4.18; extra == "test"
|
|
43
|
+
Provides-Extra: volume
|
|
44
|
+
Requires-Dist: scikit-image>=0.22; extra == "volume"
|
|
45
|
+
Provides-Extra: md
|
|
46
|
+
Requires-Dist: MDAnalysis>=2.8; extra == "md"
|
|
47
|
+
Provides-Extra: export
|
|
48
|
+
Requires-Dist: pyarrow>=14; extra == "export"
|
|
49
|
+
Provides-Extra: native
|
|
50
|
+
Requires-Dist: cavitas-native; extra == "native"
|
|
51
|
+
|
|
52
|
+
# Cavitas
|
|
53
|
+
|
|
54
|
+
Cavitas is a viewer and geometry toolkit for periodic materials and their molecular-dynamics runs. It opens crystal structures and trajectories, plays runs of up to a million atoms, puts structures side by side on one playhead with linked cameras, and finds the empty cavities of porous frameworks such as metal–organic frameworks.
|
|
55
|
+
|
|
56
|
+
The same viewer comes in three forms, built from one source:
|
|
57
|
+
|
|
58
|
+
| Form | For | Start with |
|
|
59
|
+
|---|---|---|
|
|
60
|
+
| **A desktop app** (macOS, Windows) | Opening files from Finder or Explorer, in tabs and splits, with no Python | [The app](#the-app) |
|
|
61
|
+
| **A Python package** | Notebooks, scripts and clusters: view, compare, export pictures and offline pages, find cavities | [The Python package](#the-python-package) |
|
|
62
|
+
| **A web component** | Embedding the viewer in your own page or React app | [The web component](#the-web-component) |
|
|
63
|
+
|
|
64
|
+
What a structure looks like, how a run plays and what a setting means is the same in all three, because the app and the Python package both draw with the web component.
|
|
65
|
+
|
|
66
|
+
## What it opens
|
|
67
|
+
|
|
68
|
+
CIF (with symmetry), mmCIF, POSCAR/CONTCAR, XDATCAR, XYZ and extended XYZ, PDB, LAMMPS data and dump, XTC and DCD with their topology, and anything else pymatgen or ASE reads from Python.
|
|
69
|
+
|
|
70
|
+
## The app
|
|
71
|
+
|
|
72
|
+
The app is the viewer's Workspace in a window: files open in tabs, tabs drag into columns and rows, and one playhead and one camera can be shared across them, each link switchable. Rust reads the files and builds their scenes; no Python, notebook kernel or local server is involved.
|
|
73
|
+
|
|
74
|
+
Build it from a checkout, with Node, pnpm, stable Rust and the platform's Tauri prerequisites:
|
|
75
|
+
|
|
76
|
+
```sh
|
|
77
|
+
cd web
|
|
78
|
+
pnpm install --frozen-lockfile
|
|
79
|
+
pnpm desktop:build --bundles app
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
- How to use it: [docs/desktop.md](docs/desktop.md).
|
|
83
|
+
- What it must do: [spec/desktop/app.md](spec/desktop/app.md), [spec/desktop/workspace.md](spec/desktop/workspace.md), [spec/desktop/readers.md](spec/desktop/readers.md).
|
|
84
|
+
|
|
85
|
+
## The Python package
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
pip install "cavitas[viewer,widget]"
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
Python 3.11 or 3.12. From a checkout: `pip install -e ".[viewer,widget]"`.
|
|
92
|
+
|
|
93
|
+
```python
|
|
94
|
+
import cavitas
|
|
95
|
+
|
|
96
|
+
view = cavitas.View("framework.cif") # a structure, with its cavities
|
|
97
|
+
run = cavitas.View(cavitas.Trajectory.read("run.extxyz"), fps=12) # an MD run, read as it plays
|
|
98
|
+
cavitas.Split(view, run) # side by side, one playhead, linked cameras
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
In a notebook the last line draws the viewer inline: classic Jupyter, JupyterLab, VS Code and Colab. There is no notebook extension to install, because the viewer is one self-contained page shipped inside the package. From a script, `view.show()` opens a browser, or serves the page when there is no display; from a cluster, `cavitas show framework.cif` prints the SSH tunnel to type on your own machine.
|
|
102
|
+
|
|
103
|
+
The package also exports what it shows:
|
|
104
|
+
|
|
105
|
+
| Export | Call |
|
|
106
|
+
|---|---|
|
|
107
|
+
| Pictures, at a size in pixels or millimetres | `cavitas.save_frames(frames, "stills/", size="85mm", dpi=600)`, or the panel's Export tab; see [docs/figures.md](docs/figures.md) |
|
|
108
|
+
| A movie of a run | `cavitas.save_movie(run, "run.gif", fps=8)` |
|
|
109
|
+
| An offline page or folder that opens with no Python and no network | `view.export("scene.html")`; see [docs/static-export.md](docs/static-export.md) |
|
|
110
|
+
| The structure back into Python | `view.to_pymatgen()` |
|
|
111
|
+
|
|
112
|
+
And it holds the cavity engine on its own:
|
|
113
|
+
|
|
114
|
+
```python
|
|
115
|
+
from ase.io import read
|
|
116
|
+
from cavitas import cavity
|
|
117
|
+
|
|
118
|
+
space = cavity.from_ase(read("host.extxyz"))
|
|
119
|
+
found = space.cavities(probe=1.26)
|
|
120
|
+
found.table # one row per cavity: label, class, volume, widest point
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
- Start here: [docs/quickstart.md](docs/quickstart.md), then the topic guides in [docs/](docs/README.md); cavities in [docs/cavities.md](docs/cavities.md) and [docs/cavity-component.md](docs/cavity-component.md).
|
|
124
|
+
- Every keyword of `cavitas.View`: [docs/python-keywords.md](docs/python-keywords.md).
|
|
125
|
+
- What it must do: [spec/library/components.md](spec/library/components.md), [spec/reach/notebook-transport.md](spec/reach/notebook-transport.md), [spec/library/static-export.md](spec/library/static-export.md), [spec/rendering/cavities.md](spec/rendering/cavities.md).
|
|
126
|
+
|
|
127
|
+
## The web component
|
|
128
|
+
|
|
129
|
+
The viewer is published as three packages:
|
|
130
|
+
|
|
131
|
+
| Package | What it is |
|
|
132
|
+
|---|---|
|
|
133
|
+
| `@cavitas/core` | Scene documents and resource stores; runs in Node |
|
|
134
|
+
| `@cavitas/studio` | `mount()` and the `<cavitas-studio>` element |
|
|
135
|
+
| `@cavitas/react` | A React wrapper, with React 18 or 19 as a peer |
|
|
136
|
+
|
|
137
|
+
```ts
|
|
138
|
+
import { defineCavitasStudio } from '@cavitas/studio';
|
|
139
|
+
|
|
140
|
+
defineCavitasStudio();
|
|
141
|
+
const viewer = document.createElement('cavitas-studio');
|
|
142
|
+
viewer.style.cssText = 'display:block;width:480px;height:360px';
|
|
143
|
+
viewer.scene = scene; // the scene document Python writes, or one you build with @cavitas/core
|
|
144
|
+
document.body.append(viewer);
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
Each element has its own settings, camera and playhead; a page shares one WebGL context across them. The packages are not on npm yet; `pnpm build:packages` in `web/` builds them, and [examples/npm/](examples/npm/README.md) has a working page for the element, React 18, React 19 and Node.
|
|
148
|
+
|
|
149
|
+
- How to use it: [docs/library.md](docs/library.md).
|
|
150
|
+
- What it must do: [spec/library/packages.md](spec/library/packages.md), [spec/library/element.md](spec/library/element.md), [spec/library/mount.md](spec/library/mount.md), [spec/library/react.md](spec/library/react.md), [spec/library/source.md](spec/library/source.md).
|
|
151
|
+
|
|
152
|
+
## For AI agents
|
|
153
|
+
|
|
154
|
+
An agent in a shell can read what a person has open, in the app, a notebook or a served page, set the view, select atoms for them, hear the atoms they click and take exact pictures, with the `cavitas` command:
|
|
155
|
+
|
|
156
|
+
```bash
|
|
157
|
+
cavitas viewing # every open view: title, frame, camera, selection
|
|
158
|
+
cavitas set --frame 0 --option stick_radius=0.2
|
|
159
|
+
cavitas shot --size 800x600 -o view.png
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
An agent starts at [AGENTS.md](AGENTS.md) and [skill/llms.txt](skill/llms.txt); the commands are in [docs/agent.md](docs/agent.md) and the protocol in [spec/agent/channel.md](spec/agent/channel.md).
|
|
163
|
+
|
|
164
|
+
## How it is built
|
|
165
|
+
|
|
166
|
+
| Component | What it owns |
|
|
167
|
+
|---|---|
|
|
168
|
+
| **cavity** | The map of a structure's empty space, its cavities and the windows between them, and guest insertion |
|
|
169
|
+
| **studio** | The viewer: one pane, splits, and the Workspace the app shows |
|
|
170
|
+
| **agent** | The commands an agent uses, their carriers and the sign-off record |
|
|
171
|
+
| **settings** | Every setting declared once, with its scope, default and Python keyword |
|
|
172
|
+
|
|
173
|
+
They stand on one core of readers, bonds, radii and atom identity, written in Python and in Rust (`rust/`). The viewer is TypeScript and WebGL/WebGPU (`web/`).
|
|
174
|
+
|
|
175
|
+
## Specifications
|
|
176
|
+
|
|
177
|
+
Every behaviour is written down as the user asked for it, one topic a file, in [spec/](spec/README.md): the demand in the user's words, what a person sees, the designs that were rejected, and the tests that hold it. Code follows the spec. The main sets:
|
|
178
|
+
|
|
179
|
+
| Folder | Covers |
|
|
180
|
+
|---|---|
|
|
181
|
+
| [spec/split/](spec/README.md) | Splits, the linked camera, the one playhead, synchronized windows |
|
|
182
|
+
| [spec/rendering/](spec/README.md) | Scale, which atoms may be left undrawn, playback and streamed runs, cavities, WebGPU |
|
|
183
|
+
| [spec/figure/](spec/README.md) | Pictures: axes, light, labels, arrows, legends, polyhedra |
|
|
184
|
+
| [spec/panel/](spec/README.md) | The panel's tabs: Properties, Selection, the frame card, shortcuts |
|
|
185
|
+
| [spec/desktop/](spec/README.md) | The app, its Workspace, readers and cloud link |
|
|
186
|
+
| [spec/library/](spec/README.md) | Components, the web packages, static export |
|
|
187
|
+
| [spec/agent/](spec/agent/channel.md), [spec/settings/](spec/settings/component.md), [spec/rust/](spec/README.md), [spec/reach/](spec/README.md) | The agent channel, settings, the Rust workspace, notebook transport |
|
cavitas-0.3.1/README.md
ADDED
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
# Cavitas
|
|
2
|
+
|
|
3
|
+
Cavitas is a viewer and geometry toolkit for periodic materials and their molecular-dynamics runs. It opens crystal structures and trajectories, plays runs of up to a million atoms, puts structures side by side on one playhead with linked cameras, and finds the empty cavities of porous frameworks such as metal–organic frameworks.
|
|
4
|
+
|
|
5
|
+
The same viewer comes in three forms, built from one source:
|
|
6
|
+
|
|
7
|
+
| Form | For | Start with |
|
|
8
|
+
|---|---|---|
|
|
9
|
+
| **A desktop app** (macOS, Windows) | Opening files from Finder or Explorer, in tabs and splits, with no Python | [The app](#the-app) |
|
|
10
|
+
| **A Python package** | Notebooks, scripts and clusters: view, compare, export pictures and offline pages, find cavities | [The Python package](#the-python-package) |
|
|
11
|
+
| **A web component** | Embedding the viewer in your own page or React app | [The web component](#the-web-component) |
|
|
12
|
+
|
|
13
|
+
What a structure looks like, how a run plays and what a setting means is the same in all three, because the app and the Python package both draw with the web component.
|
|
14
|
+
|
|
15
|
+
## What it opens
|
|
16
|
+
|
|
17
|
+
CIF (with symmetry), mmCIF, POSCAR/CONTCAR, XDATCAR, XYZ and extended XYZ, PDB, LAMMPS data and dump, XTC and DCD with their topology, and anything else pymatgen or ASE reads from Python.
|
|
18
|
+
|
|
19
|
+
## The app
|
|
20
|
+
|
|
21
|
+
The app is the viewer's Workspace in a window: files open in tabs, tabs drag into columns and rows, and one playhead and one camera can be shared across them, each link switchable. Rust reads the files and builds their scenes; no Python, notebook kernel or local server is involved.
|
|
22
|
+
|
|
23
|
+
Build it from a checkout, with Node, pnpm, stable Rust and the platform's Tauri prerequisites:
|
|
24
|
+
|
|
25
|
+
```sh
|
|
26
|
+
cd web
|
|
27
|
+
pnpm install --frozen-lockfile
|
|
28
|
+
pnpm desktop:build --bundles app
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
- How to use it: [docs/desktop.md](docs/desktop.md).
|
|
32
|
+
- What it must do: [spec/desktop/app.md](spec/desktop/app.md), [spec/desktop/workspace.md](spec/desktop/workspace.md), [spec/desktop/readers.md](spec/desktop/readers.md).
|
|
33
|
+
|
|
34
|
+
## The Python package
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
pip install "cavitas[viewer,widget]"
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Python 3.11 or 3.12. From a checkout: `pip install -e ".[viewer,widget]"`.
|
|
41
|
+
|
|
42
|
+
```python
|
|
43
|
+
import cavitas
|
|
44
|
+
|
|
45
|
+
view = cavitas.View("framework.cif") # a structure, with its cavities
|
|
46
|
+
run = cavitas.View(cavitas.Trajectory.read("run.extxyz"), fps=12) # an MD run, read as it plays
|
|
47
|
+
cavitas.Split(view, run) # side by side, one playhead, linked cameras
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
In a notebook the last line draws the viewer inline: classic Jupyter, JupyterLab, VS Code and Colab. There is no notebook extension to install, because the viewer is one self-contained page shipped inside the package. From a script, `view.show()` opens a browser, or serves the page when there is no display; from a cluster, `cavitas show framework.cif` prints the SSH tunnel to type on your own machine.
|
|
51
|
+
|
|
52
|
+
The package also exports what it shows:
|
|
53
|
+
|
|
54
|
+
| Export | Call |
|
|
55
|
+
|---|---|
|
|
56
|
+
| Pictures, at a size in pixels or millimetres | `cavitas.save_frames(frames, "stills/", size="85mm", dpi=600)`, or the panel's Export tab; see [docs/figures.md](docs/figures.md) |
|
|
57
|
+
| A movie of a run | `cavitas.save_movie(run, "run.gif", fps=8)` |
|
|
58
|
+
| An offline page or folder that opens with no Python and no network | `view.export("scene.html")`; see [docs/static-export.md](docs/static-export.md) |
|
|
59
|
+
| The structure back into Python | `view.to_pymatgen()` |
|
|
60
|
+
|
|
61
|
+
And it holds the cavity engine on its own:
|
|
62
|
+
|
|
63
|
+
```python
|
|
64
|
+
from ase.io import read
|
|
65
|
+
from cavitas import cavity
|
|
66
|
+
|
|
67
|
+
space = cavity.from_ase(read("host.extxyz"))
|
|
68
|
+
found = space.cavities(probe=1.26)
|
|
69
|
+
found.table # one row per cavity: label, class, volume, widest point
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
- Start here: [docs/quickstart.md](docs/quickstart.md), then the topic guides in [docs/](docs/README.md); cavities in [docs/cavities.md](docs/cavities.md) and [docs/cavity-component.md](docs/cavity-component.md).
|
|
73
|
+
- Every keyword of `cavitas.View`: [docs/python-keywords.md](docs/python-keywords.md).
|
|
74
|
+
- What it must do: [spec/library/components.md](spec/library/components.md), [spec/reach/notebook-transport.md](spec/reach/notebook-transport.md), [spec/library/static-export.md](spec/library/static-export.md), [spec/rendering/cavities.md](spec/rendering/cavities.md).
|
|
75
|
+
|
|
76
|
+
## The web component
|
|
77
|
+
|
|
78
|
+
The viewer is published as three packages:
|
|
79
|
+
|
|
80
|
+
| Package | What it is |
|
|
81
|
+
|---|---|
|
|
82
|
+
| `@cavitas/core` | Scene documents and resource stores; runs in Node |
|
|
83
|
+
| `@cavitas/studio` | `mount()` and the `<cavitas-studio>` element |
|
|
84
|
+
| `@cavitas/react` | A React wrapper, with React 18 or 19 as a peer |
|
|
85
|
+
|
|
86
|
+
```ts
|
|
87
|
+
import { defineCavitasStudio } from '@cavitas/studio';
|
|
88
|
+
|
|
89
|
+
defineCavitasStudio();
|
|
90
|
+
const viewer = document.createElement('cavitas-studio');
|
|
91
|
+
viewer.style.cssText = 'display:block;width:480px;height:360px';
|
|
92
|
+
viewer.scene = scene; // the scene document Python writes, or one you build with @cavitas/core
|
|
93
|
+
document.body.append(viewer);
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
Each element has its own settings, camera and playhead; a page shares one WebGL context across them. The packages are not on npm yet; `pnpm build:packages` in `web/` builds them, and [examples/npm/](examples/npm/README.md) has a working page for the element, React 18, React 19 and Node.
|
|
97
|
+
|
|
98
|
+
- How to use it: [docs/library.md](docs/library.md).
|
|
99
|
+
- What it must do: [spec/library/packages.md](spec/library/packages.md), [spec/library/element.md](spec/library/element.md), [spec/library/mount.md](spec/library/mount.md), [spec/library/react.md](spec/library/react.md), [spec/library/source.md](spec/library/source.md).
|
|
100
|
+
|
|
101
|
+
## For AI agents
|
|
102
|
+
|
|
103
|
+
An agent in a shell can read what a person has open, in the app, a notebook or a served page, set the view, select atoms for them, hear the atoms they click and take exact pictures, with the `cavitas` command:
|
|
104
|
+
|
|
105
|
+
```bash
|
|
106
|
+
cavitas viewing # every open view: title, frame, camera, selection
|
|
107
|
+
cavitas set --frame 0 --option stick_radius=0.2
|
|
108
|
+
cavitas shot --size 800x600 -o view.png
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
An agent starts at [AGENTS.md](AGENTS.md) and [skill/llms.txt](skill/llms.txt); the commands are in [docs/agent.md](docs/agent.md) and the protocol in [spec/agent/channel.md](spec/agent/channel.md).
|
|
112
|
+
|
|
113
|
+
## How it is built
|
|
114
|
+
|
|
115
|
+
| Component | What it owns |
|
|
116
|
+
|---|---|
|
|
117
|
+
| **cavity** | The map of a structure's empty space, its cavities and the windows between them, and guest insertion |
|
|
118
|
+
| **studio** | The viewer: one pane, splits, and the Workspace the app shows |
|
|
119
|
+
| **agent** | The commands an agent uses, their carriers and the sign-off record |
|
|
120
|
+
| **settings** | Every setting declared once, with its scope, default and Python keyword |
|
|
121
|
+
|
|
122
|
+
They stand on one core of readers, bonds, radii and atom identity, written in Python and in Rust (`rust/`). The viewer is TypeScript and WebGL/WebGPU (`web/`).
|
|
123
|
+
|
|
124
|
+
## Specifications
|
|
125
|
+
|
|
126
|
+
Every behaviour is written down as the user asked for it, one topic a file, in [spec/](spec/README.md): the demand in the user's words, what a person sees, the designs that were rejected, and the tests that hold it. Code follows the spec. The main sets:
|
|
127
|
+
|
|
128
|
+
| Folder | Covers |
|
|
129
|
+
|---|---|
|
|
130
|
+
| [spec/split/](spec/README.md) | Splits, the linked camera, the one playhead, synchronized windows |
|
|
131
|
+
| [spec/rendering/](spec/README.md) | Scale, which atoms may be left undrawn, playback and streamed runs, cavities, WebGPU |
|
|
132
|
+
| [spec/figure/](spec/README.md) | Pictures: axes, light, labels, arrows, legends, polyhedra |
|
|
133
|
+
| [spec/panel/](spec/README.md) | The panel's tabs: Properties, Selection, the frame card, shortcuts |
|
|
134
|
+
| [spec/desktop/](spec/README.md) | The app, its Workspace, readers and cloud link |
|
|
135
|
+
| [spec/library/](spec/README.md) | Components, the web packages, static export |
|
|
136
|
+
| [spec/agent/](spec/agent/channel.md), [spec/settings/](spec/settings/component.md), [spec/rust/](spec/README.md), [spec/reach/](spec/README.md) | The agent channel, settings, the Rust workspace, notebook transport |
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
"""Find periodic cavities and place rigid guest molecules in them."""
|
|
2
|
+
|
|
3
|
+
#: Stamped into every emitted record, because the code -- not only the settings
|
|
4
|
+
#: -- decides the geometry: the refine tolerances and the stationarity bound
|
|
5
|
+
#: live in this package, so a record that names its settings and not its
|
|
6
|
+
#: version cannot be reproduced. ``pyproject.toml`` reads this value, so there
|
|
7
|
+
#: is one place to change it.
|
|
8
|
+
__version__ = "0.3.1"
|
|
9
|
+
|
|
10
|
+
# The root loads nothing until a name is asked for (user, 2026-11-04: "performance and speed is top priority ...
|
|
11
|
+
# launching speed is also very important"), as scipy and scikit-image do (SPEC 1): `import cavitas.cavity.engine`
|
|
12
|
+
# then costs the engine alone, and `import cavitas` costs nothing. `__init__.pyi` lists the same names for editors and
|
|
13
|
+
# type checkers. Each entry is a public name and the module, relative to this package, that defines it.
|
|
14
|
+
_LAZY = {
|
|
15
|
+
'BatchCavity': ('batch', 'BatchCavity'),
|
|
16
|
+
'BatchRow': ('batch', 'BatchRow'),
|
|
17
|
+
'format_table': ('batch', 'format_table'),
|
|
18
|
+
'scan_directory': ('batch', 'scan_directory'),
|
|
19
|
+
'BONDING_SCHEMA': ('bonding', 'BONDING_SCHEMA'),
|
|
20
|
+
'DEFAULT_BONDING': ('bonding', 'DEFAULT'),
|
|
21
|
+
'Bonding': ('bonding', 'Bonding'),
|
|
22
|
+
'Cavity': ('cavity', 'Cavity'),
|
|
23
|
+
'CavityAnalysis': ('cavity', 'CavityAnalysis'),
|
|
24
|
+
'CavitySearchSettings': ('cavity', 'CavitySearchSettings'),
|
|
25
|
+
'ConfigurationSet': ('cavity', 'ConfigurationSet'),
|
|
26
|
+
'DiscardedConfiguration': ('cavity', 'DiscardedConfiguration'),
|
|
27
|
+
'GuestConfiguration': ('cavity', 'GuestConfiguration'),
|
|
28
|
+
'GuestPlacement': ('cavity', 'GuestPlacement'),
|
|
29
|
+
'SymmetryOperation': ('cavity', 'SymmetryOperation'),
|
|
30
|
+
'active_directions': ('cavity', 'active_directions'),
|
|
31
|
+
'analyze_cavities': ('cavity', 'analyze_cavities'),
|
|
32
|
+
'ascent_score': ('cavity', 'ascent_score'),
|
|
33
|
+
'distinct_guest_configurations': ('cavity', 'distinct_guest_configurations'),
|
|
34
|
+
'ToleranceRow': ('cavity', 'ToleranceRow'),
|
|
35
|
+
'find_cavities': ('cavity', 'find_cavities'),
|
|
36
|
+
'group_cavities_by_symmetry': ('cavity', 'group_cavities_by_symmetry'),
|
|
37
|
+
'is_local_maximum': ('cavity', 'is_local_maximum'),
|
|
38
|
+
'scan_tolerances': ('cavity', 'scan_tolerances'),
|
|
39
|
+
'Description': ('figures', 'Description'),
|
|
40
|
+
'Presentation': ('figures', 'Presentation'),
|
|
41
|
+
'Scanned': ('figures', 'Scanned'),
|
|
42
|
+
'describe': ('figures', 'describe'),
|
|
43
|
+
'draw_tolerances': ('figures', 'draw_tolerances'),
|
|
44
|
+
'LoadedStructure': ('files', 'LoadedStructure'),
|
|
45
|
+
'load_structure': ('files', 'load_structure'),
|
|
46
|
+
'SIGMA_SCALE': ('guest', 'SIGMA_SCALE'),
|
|
47
|
+
'ExistingGuest': ('guest', 'ExistingGuest'),
|
|
48
|
+
'Guest': ('guest', 'Guest'),
|
|
49
|
+
'InsertionResult': ('guest', 'InsertionResult'),
|
|
50
|
+
'KINETIC_DIAMETERS': ('guest', 'KINETIC_DIAMETERS'),
|
|
51
|
+
'Loading': ('guest', 'Loading'),
|
|
52
|
+
'MultiInsertionResult': ('guest', 'MultiInsertionResult'),
|
|
53
|
+
'SearchResolution': ('guest', 'SearchResolution'),
|
|
54
|
+
'adjust_guest': ('guest', 'adjust_guest'),
|
|
55
|
+
'euler_angles': ('guest', 'euler_angles'),
|
|
56
|
+
'find_existing_guests': ('guest', 'find_existing_guests'),
|
|
57
|
+
'guest_probe_radius': ('guest', 'guest_probe_radius'),
|
|
58
|
+
'insert_guest': ('guest', 'insert_guest'),
|
|
59
|
+
'loading_series': ('guest', 'loading_series'),
|
|
60
|
+
'measure_guest': ('guest', 'measure_guest'),
|
|
61
|
+
'rotation_from_angles': ('guest', 'rotation_from_angles'),
|
|
62
|
+
'HydrogenPlacementWarning': ('hydrogen', 'HydrogenPlacementWarning'),
|
|
63
|
+
'HydrogenReport': ('hydrogen', 'HydrogenReport'),
|
|
64
|
+
'REFERENCE_DISTANCES': ('hydrogen', 'REFERENCE_DISTANCES'),
|
|
65
|
+
'check_hydrogen_positions': ('hydrogen', 'check_hydrogen_positions'),
|
|
66
|
+
'normalise_hydrogens': ('hydrogen', 'normalise_hydrogens'),
|
|
67
|
+
'SearchQueue': ('queries', 'SearchQueue'),
|
|
68
|
+
'set_searches': ('queries', 'set_searches'),
|
|
69
|
+
'RECIPE_VERSION': ('recipe', 'RECIPE_VERSION'),
|
|
70
|
+
'Placement': ('recipe', 'Placement'),
|
|
71
|
+
'Recipe': ('recipe', 'Recipe'),
|
|
72
|
+
'build_recipe': ('recipe', 'build_recipe'),
|
|
73
|
+
'replay_recipe': ('recipe', 'replay_recipe'),
|
|
74
|
+
'find_guest_molecules': ('topology', 'find_guest_molecules'),
|
|
75
|
+
'Density': ('volume', 'Density'),
|
|
76
|
+
'Properties': ('studio', 'Properties'),
|
|
77
|
+
'box_cuts': ('studio', 'box_cuts'),
|
|
78
|
+
'embed_features': ('studio', 'embed_features'),
|
|
79
|
+
'covering': ('studio', 'covering'),
|
|
80
|
+
'quiet_box': ('studio', 'quiet_box'),
|
|
81
|
+
'Split': ('studio', 'Split'),
|
|
82
|
+
'Controls': ('studio', 'Controls'),
|
|
83
|
+
'Trajectory': ('studio', 'Trajectory'),
|
|
84
|
+
'View': ('studio', 'View'),
|
|
85
|
+
'band_body': ('studio', 'band_body'),
|
|
86
|
+
'check_capture': ('studio', 'check_capture'),
|
|
87
|
+
'band_poses': ('studio', 'band_poses'),
|
|
88
|
+
'read_band': ('studio', 'read_band'),
|
|
89
|
+
'save_axes': ('studio', 'save_axes'),
|
|
90
|
+
'save_frames': ('studio', 'save_frames'),
|
|
91
|
+
'save_movie': ('studio', 'save_movie'),
|
|
92
|
+
'save_trace': ('studio', 'save_trace'),
|
|
93
|
+
'snap_camera': ('studio', 'snap_camera'),
|
|
94
|
+
'stills': ('studio', 'stills'),
|
|
95
|
+
'trace_band': ('studio', 'trace_band'),
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
__all__ = [
|
|
99
|
+
"BatchCavity",
|
|
100
|
+
"BatchRow",
|
|
101
|
+
"BONDING_SCHEMA",
|
|
102
|
+
"Bonding",
|
|
103
|
+
"Cavity",
|
|
104
|
+
"Density",
|
|
105
|
+
"CavityAnalysis",
|
|
106
|
+
"CavitySearchSettings",
|
|
107
|
+
"DEFAULT_BONDING",
|
|
108
|
+
"ConfigurationSet",
|
|
109
|
+
"Description",
|
|
110
|
+
"DiscardedConfiguration",
|
|
111
|
+
"ExistingGuest",
|
|
112
|
+
"Guest",
|
|
113
|
+
"GuestConfiguration",
|
|
114
|
+
"GuestPlacement",
|
|
115
|
+
"HydrogenPlacementWarning",
|
|
116
|
+
"HydrogenReport",
|
|
117
|
+
"InsertionResult",
|
|
118
|
+
"KINETIC_DIAMETERS",
|
|
119
|
+
"LoadedStructure",
|
|
120
|
+
"Loading",
|
|
121
|
+
"MultiInsertionResult",
|
|
122
|
+
"Placement",
|
|
123
|
+
"Presentation",
|
|
124
|
+
"Properties",
|
|
125
|
+
"RECIPE_VERSION",
|
|
126
|
+
"REFERENCE_DISTANCES",
|
|
127
|
+
"Recipe",
|
|
128
|
+
"SIGMA_SCALE",
|
|
129
|
+
"Scanned",
|
|
130
|
+
"SearchQueue",
|
|
131
|
+
"SearchResolution",
|
|
132
|
+
"SymmetryOperation",
|
|
133
|
+
"ToleranceRow",
|
|
134
|
+
"Split",
|
|
135
|
+
"Controls",
|
|
136
|
+
"Trajectory",
|
|
137
|
+
"View",
|
|
138
|
+
"active_directions",
|
|
139
|
+
"adjust_guest",
|
|
140
|
+
"analyze_cavities",
|
|
141
|
+
"box_cuts",
|
|
142
|
+
"covering",
|
|
143
|
+
"embed_features",
|
|
144
|
+
"ascent_score",
|
|
145
|
+
"build_recipe",
|
|
146
|
+
"check_hydrogen_positions",
|
|
147
|
+
"describe",
|
|
148
|
+
"distinct_guest_configurations",
|
|
149
|
+
"draw_tolerances",
|
|
150
|
+
"euler_angles",
|
|
151
|
+
"find_cavities",
|
|
152
|
+
"find_existing_guests",
|
|
153
|
+
"find_guest_molecules",
|
|
154
|
+
"format_table",
|
|
155
|
+
"group_cavities_by_symmetry",
|
|
156
|
+
"guest_probe_radius",
|
|
157
|
+
"insert_guest",
|
|
158
|
+
"is_local_maximum",
|
|
159
|
+
"load_structure",
|
|
160
|
+
"loading_series",
|
|
161
|
+
"measure_guest",
|
|
162
|
+
"normalise_hydrogens",
|
|
163
|
+
"quiet_box",
|
|
164
|
+
"replay_recipe",
|
|
165
|
+
"rotation_from_angles",
|
|
166
|
+
"save_axes",
|
|
167
|
+
"save_frames",
|
|
168
|
+
"save_movie",
|
|
169
|
+
"save_trace",
|
|
170
|
+
"check_capture",
|
|
171
|
+
"stills",
|
|
172
|
+
"trace_band",
|
|
173
|
+
"read_band",
|
|
174
|
+
"band_body",
|
|
175
|
+
"band_poses",
|
|
176
|
+
"snap_camera",
|
|
177
|
+
"scan_directory",
|
|
178
|
+
"scan_tolerances",
|
|
179
|
+
"set_searches",
|
|
180
|
+
"show",
|
|
181
|
+
]
|
|
182
|
+
|
|
183
|
+
# `show` is both a module and the function it defines, and importing the module sets the package's attribute to the
|
|
184
|
+
# module; bound here first, the name stays the function. The module imports nothing of cavitas.
|
|
185
|
+
from .show import show # noqa: E402
|
|
186
|
+
|
|
187
|
+
_SUBPACKAGES = {"agent", "cavity", "studio", "guest", "figures", "export", "checks", "settings"}
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
def __getattr__(name):
|
|
191
|
+
import importlib
|
|
192
|
+
|
|
193
|
+
if name in _LAZY:
|
|
194
|
+
module, attribute = _LAZY[name]
|
|
195
|
+
value = getattr(importlib.import_module(f".{module}", __name__), attribute)
|
|
196
|
+
globals()[name] = value
|
|
197
|
+
return value
|
|
198
|
+
if name in _SUBPACKAGES:
|
|
199
|
+
return importlib.import_module(f".{name}", __name__)
|
|
200
|
+
# `cavitas.viewer` is the studio component's retired name; reaching it imports the alias package, which warns once
|
|
201
|
+
# (spec/library/components.md).
|
|
202
|
+
if name == "viewer":
|
|
203
|
+
return importlib.import_module(".viewer", __name__)
|
|
204
|
+
raise AttributeError(f"module 'cavitas' has no attribute {name!r}")
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
def __dir__():
|
|
208
|
+
return sorted(set(globals()) | set(_LAZY) | _SUBPACKAGES)
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"""Names the package root exports, for type checkers and editors; `__init__.py` loads each on first use."""
|
|
2
|
+
|
|
3
|
+
__version__: str
|
|
4
|
+
|
|
5
|
+
from .batch import BatchCavity, BatchRow, format_table, scan_directory
|
|
6
|
+
from .bonding import BONDING_SCHEMA, DEFAULT as DEFAULT_BONDING, Bonding
|
|
7
|
+
from .cavity import (
|
|
8
|
+
Cavity,
|
|
9
|
+
CavityAnalysis,
|
|
10
|
+
CavitySearchSettings,
|
|
11
|
+
ConfigurationSet,
|
|
12
|
+
DiscardedConfiguration,
|
|
13
|
+
GuestConfiguration,
|
|
14
|
+
GuestPlacement,
|
|
15
|
+
SymmetryOperation,
|
|
16
|
+
active_directions,
|
|
17
|
+
analyze_cavities,
|
|
18
|
+
ascent_score,
|
|
19
|
+
distinct_guest_configurations,
|
|
20
|
+
ToleranceRow,
|
|
21
|
+
find_cavities,
|
|
22
|
+
group_cavities_by_symmetry,
|
|
23
|
+
is_local_maximum,
|
|
24
|
+
scan_tolerances,
|
|
25
|
+
)
|
|
26
|
+
from .figures import Description, Presentation, Scanned, describe, draw_tolerances
|
|
27
|
+
from .files import LoadedStructure, load_structure
|
|
28
|
+
from .guest import (
|
|
29
|
+
SIGMA_SCALE,
|
|
30
|
+
ExistingGuest,
|
|
31
|
+
Guest,
|
|
32
|
+
InsertionResult,
|
|
33
|
+
KINETIC_DIAMETERS,
|
|
34
|
+
Loading,
|
|
35
|
+
MultiInsertionResult,
|
|
36
|
+
SearchResolution,
|
|
37
|
+
adjust_guest,
|
|
38
|
+
euler_angles,
|
|
39
|
+
find_existing_guests,
|
|
40
|
+
guest_probe_radius,
|
|
41
|
+
insert_guest,
|
|
42
|
+
loading_series,
|
|
43
|
+
measure_guest,
|
|
44
|
+
rotation_from_angles,
|
|
45
|
+
)
|
|
46
|
+
from .hydrogen import (
|
|
47
|
+
HydrogenPlacementWarning,
|
|
48
|
+
HydrogenReport,
|
|
49
|
+
REFERENCE_DISTANCES,
|
|
50
|
+
check_hydrogen_positions,
|
|
51
|
+
normalise_hydrogens,
|
|
52
|
+
)
|
|
53
|
+
from .queries import SearchQueue, set_searches
|
|
54
|
+
from .recipe import RECIPE_VERSION, Placement, Recipe, build_recipe, replay_recipe
|
|
55
|
+
from .show import show
|
|
56
|
+
from .topology import find_guest_molecules
|
|
57
|
+
from .volume import Density
|
|
58
|
+
from .studio import (
|
|
59
|
+
Properties,
|
|
60
|
+
box_cuts,
|
|
61
|
+
embed_features,
|
|
62
|
+
covering,
|
|
63
|
+
quiet_box,
|
|
64
|
+
Split,
|
|
65
|
+
Trajectory,
|
|
66
|
+
View,
|
|
67
|
+
band_body,
|
|
68
|
+
check_capture,
|
|
69
|
+
band_poses,
|
|
70
|
+
read_band,
|
|
71
|
+
save_axes,
|
|
72
|
+
save_frames,
|
|
73
|
+
save_movie,
|
|
74
|
+
save_trace,
|
|
75
|
+
snap_camera,
|
|
76
|
+
stills,
|
|
77
|
+
trace_band,
|
|
78
|
+
)
|
|
79
|
+
|
|
80
|
+
from . import agent as agent, cavity as cavity, settings as settings, studio as studio
|