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

Batched mode propagation for satellites with _isimp flag activated #9

Merged
merged 6 commits into from
May 20, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Update test_batched_sgp4.py
  • Loading branch information
Rex2000viola committed May 20, 2024
commit d39d7814de3a07dad75db5a9cb4121da2bb2f5f7
1 change: 1 addition & 0 deletions tests/test_batched_sgp4.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ def test_isimp_batched(self):
tsinces_batch = torch.cat(tsinces_batch)
out_non_batched = torch.cat(out_non_batched)
out_batched = dsgp4.propagate_batch(tles_batch,tsinces_batch)
self.assertTrue(torch.any(torch.tensor([tle._isimp==1 for tle in tles_batch])))
self.assertTrue(np.allclose(out_non_batched.numpy(),out_batched.numpy()))

Sceki marked this conversation as resolved.
Show resolved Hide resolved

Expand Down
Loading