Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pykat
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
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
Sean Leavey
pykat
Commits
144ee798
Commit
144ee798
authored
9 years ago
by
Daniel Brown
Browse files
Options
Downloads
Patches
Plain Diff
adding map test
parent
53f0b989
No related branches found
No related tags found
No related merge requests found
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
test/test_scripts/physics/etm08_virtual.txt
+265
-0
265 additions, 0 deletions
test/test_scripts/physics/etm08_virtual.txt
test/test_scripts/physics/test_maps.py
+15
-0
15 additions, 0 deletions
test/test_scripts/physics/test_maps.py
with
280 additions
and
0 deletions
test/test_scripts/physics/etm08_virtual.txt
0 → 100644
+
265
−
0
View file @
144ee798
This diff is collapsed.
Click to expand it.
test/test_scripts/physics/test_maps.py
0 → 100644
+
15
−
0
View file @
144ee798
import
pykat
from
pykat.optics.maps
import
read_map
m
=
read_map
(
"
etm08_virtual.txt
"
)
m
.
write_map
(
"
test.map
"
)
from
pykat.optics.maps
import
curvedmap
itm
=
curvedmap
(
'
itm_Rc
'
,
1
,
1
,
1
)
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