Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
Orekit Python Wrapper
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Orekit Labs
Orekit Python Wrapper
Commits
f3e9d642
Commit
f3e9d642
authored
5 years ago
by
Petrus Hyvönen
Browse files
Options
Downloads
Patches
Plain Diff
Change of date in TransformTest to match resources.zip
parent
bc522d78
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
python_files/test/TransformTest.py
+1
-22
1 addition, 22 deletions
python_files/test/TransformTest.py
with
1 addition
and
22 deletions
python_files/test/TransformTest.py
+
1
−
22
View file @
f3e9d642
...
...
@@ -36,33 +36,12 @@ import sys
from
datetime
import
datetime
from
java.util
import
ArrayList
# import java.util.List;
#
# import org.hipparchus.Field;
# import org.hipparchus.geometry.euclidean.threed.FieldVector3D;
# import org.hipparchus.geometry.euclidean.threed.Line;
from
org.hipparchus.geometry.euclidean.threed
import
Rotation
;
from
org.hipparchus.geometry.euclidean.threed
import
RotationConvention
;
from
org.hipparchus.geometry.euclidean.threed
import
Vector3D
# import org.hipparchus.linear.MatrixUtils;
# import org.hipparchus.linear.RealMatrix;
# import org.hipparchus.random.RandomGenerator;
# import org.hipparchus.random.Well19937a;
# import org.hipparchus.util.Decimal64;
# import org.hipparchus.util.Decimal64Field;
from
org.hipparchus.util
import
FastMath
# import org.junit.Assert;
# import org.junit.Test;
# import org.orekit.Utils;
# import org.orekit.time.AbsoluteDate;
# import org.orekit.time.FieldAbsoluteDate;
# import org.orekit.time.TimeScale;
# import org.orekit.time.TimeScalesFactory;
from
org.orekit.utils
import
CartesianDerivativesFilter
# import org.orekit.utils.Constants;
# import org.orekit.utils.FieldPVCoordinates;
from
org.orekit.utils
import
PVCoordinates
# import org.orekit.utils.TimeStampedFieldPVCoordinates;
from
org.orekit.utils
import
TimeStampedPVCoordinates
;
from
org.orekit.frames
import
Transform
from
org.orekit.frames
import
FramesFactory
...
...
@@ -74,7 +53,7 @@ class TransformTest(unittest.TestCase):
# Create initial TimeStampedPVCoordinates
pos
=
Vector3D
(
10000.
,
20000.
,
30000.
)
vel
=
Vector3D
(
2000.
,
1000.
,
1500.
)
date
=
datetime_to_absolutedate
(
datetime
(
20
19
,
4
,
5
))
date
=
datetime_to_absolutedate
(
datetime
(
20
00
,
3
,
13
))
pvt1
=
TimeStampedPVCoordinates
(
date
,
pos
,
vel
)
print
(
type
(
pvt1
))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment