Skip to content

Commit

Permalink
Condense InterpSolverPhase and InterpLeastSqSolverPhase
Browse files Browse the repository at this point in the history
  • Loading branch information
gwm17 committed Nov 6, 2024
1 parent 6d1d3f1 commit 8b74c86
Show file tree
Hide file tree
Showing 7 changed files with 139 additions and 573 deletions.
2 changes: 0 additions & 2 deletions src/spyral/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
from .phases.cluster_phase import ClusterPhase
from .phases.estimation_phase import EstimationPhase
from .phases.interp_solver_phase import InterpSolverPhase
from .phases.interp_leastsq_solver_phase import InterpLeastSqSolverPhase
from .phases.schema import (
TRACE_SCHEMA,
POINTCLOUD_SCHEMA,
Expand Down Expand Up @@ -54,7 +53,6 @@
"ClusterPhase",
"EstimationPhase",
"InterpSolverPhase",
"InterpLeastSqSolverPhase",
"TRACE_SCHEMA",
"POINTCLOUD_SCHEMA",
"CLUSTER_SCHEMA",
Expand Down
3 changes: 3 additions & 0 deletions src/spyral/core/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ class SolverParameters:
Control whether or not the vertex phi position is fitted (True=fitted, False=fixed)
fit_azimuthal: bool
Control whether or not the trajectory azimuthal angle is fitted (True=fitted, False=fixed)
fit_method: str
What type of fitting to use, options are "lbfgsb" or "leastsq"
"""

gas_data_path: Path
Expand All @@ -228,3 +230,4 @@ class SolverParameters:
fit_vertex_rho: bool
fit_vertex_phi: bool
fit_azimuthal: bool
fit_method: str
349 changes: 0 additions & 349 deletions src/spyral/phases/interp_leastsq_solver_phase.py

This file was deleted.

Loading

0 comments on commit 8b74c86

Please sign in to comment.