Skip to content

Commit

Permalink
WIP: Update adam_core
Browse files Browse the repository at this point in the history
  • Loading branch information
moeyensj committed May 22, 2024
1 parent 3172ac2 commit 8c52441
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 8 deletions.
2 changes: 1 addition & 1 deletion thor/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import quivr as qv
import ray
from adam_core.propagator import PYOORB
from adam_core.propagator.adam_pyoorb import PYOORB
from adam_core.ray_cluster import initialize_use_ray

from .checkpointing import create_checkpoint_data, load_initial_checkpoint_values
Expand Down
4 changes: 2 additions & 2 deletions thor/orbit.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
)
from adam_core.observers import Observers
from adam_core.orbits import Ephemeris, Orbits
from adam_core.propagator import PYOORB, Propagator
from adam_core.propagator import Propagator
from adam_core.propagator.adam_pyoorb import PYOORB
from adam_core.ray_cluster import initialize_use_ray
from adam_core.time import Timestamp

Expand Down Expand Up @@ -231,7 +232,6 @@ def generate_ephemeris(
observers,
max_processes=max_processes,
chunk_size=1,
parallel_backend="ray",
)

def generate_ephemeris_from_observations(
Expand Down
3 changes: 2 additions & 1 deletion thor/orbit_selection.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
from adam_core.coordinates import KeplerianCoordinates
from adam_core.observers import Observers
from adam_core.orbits import Ephemeris, Orbits
from adam_core.propagator import PYOORB, Propagator
from adam_core.propagator import Propagator
from adam_core.propagator.adam_pyoorb import PYOORB
from adam_core.propagator.utils import _iterate_chunks
from adam_core.ray_cluster import initialize_use_ray
from adam_core.time import Timestamp
Expand Down
3 changes: 2 additions & 1 deletion thor/orbits/attribution.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
import ray
from adam_core.coordinates.residuals import Residuals
from adam_core.orbits import Orbits
from adam_core.propagator import PYOORB, Propagator
from adam_core.propagator import Propagator
from adam_core.propagator.adam_pyoorb import PYOORB
from adam_core.propagator.utils import _iterate_chunk_indices, _iterate_chunks
from adam_core.ray_cluster import initialize_use_ray
from sklearn.neighbors import BallTree
Expand Down
3 changes: 2 additions & 1 deletion thor/orbits/iod.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
import ray
from adam_core.coordinates.residuals import Residuals
from adam_core.orbit_determination import OrbitDeterminationObservations
from adam_core.propagator import PYOORB, Propagator
from adam_core.propagator import Propagator
from adam_core.propagator.adam_pyoorb import PYOORB
from adam_core.propagator.utils import _iterate_chunk_indices, _iterate_chunks
from adam_core.ray_cluster import initialize_use_ray

Expand Down
3 changes: 2 additions & 1 deletion thor/orbits/od.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
from adam_core.coordinates.residuals import Residuals
from adam_core.orbit_determination import OrbitDeterminationObservations
from adam_core.orbits import Orbits
from adam_core.propagator import PYOORB, Propagator, _iterate_chunks
from adam_core.propagator import Propagator, _iterate_chunks
from adam_core.propagator.adam_pyoorb import PYOORB
from adam_core.propagator.utils import _iterate_chunk_indices
from adam_core.ray_cluster import initialize_use_ray
from scipy.linalg import solve
Expand Down
3 changes: 2 additions & 1 deletion thor/range_and_transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
OriginCodes,
transform_coordinates,
)
from adam_core.propagator import PYOORB, Propagator
from adam_core.propagator import Propagator
from adam_core.propagator.adam_pyoorb import PYOORB
from adam_core.ray_cluster import initialize_use_ray

from .observations.observations import Observations
Expand Down

0 comments on commit 8c52441

Please sign in to comment.