Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collapse vta fix #16

Merged
merged 3 commits into from
Feb 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions ossdbs/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,19 +250,18 @@ def generate_point_models(settings: dict):
dir_par = settings["PointModel"]["Lattice"]["Direction"]
direction = dir_par["x[mm]"], dir_par["y[mm]"], dir_par["z[mm]"]
distance = settings["PointModel"]["Lattice"]["PointDistance[mm]"]
collapse_vta = settings["PointModel"]["Lattice"]["CollapseVTA"]

point_models.append(
Lattice(
shape=shape,
center=center,
distance=distance,
direction=direction,
collapse_vta=collapse_vta,
)
)

collapse_vta = settings["PointModel"]["Lattice"]["CollapseVTA"]
point_models[-1].collapse_vta = collapse_vta

if settings["PointModel"]["VoxelLattice"]["Active"]:
_logger.info("from voxel lattice")
center_par = settings["PointModel"]["Lattice"]["Center"]
Expand Down Expand Up @@ -441,7 +440,7 @@ def run_volume_conductor_model(settings, volume_conductor):
point_models=point_models,
activation_threshold=settings["ActivationThresholdVTA"],
out_of_core=out_of_core,
export_frequency=export_frequency
export_frequency=export_frequency,
)
return vcm_timings

Expand Down
Loading