Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fromRoot
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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
johannes bilk
fromRoot
Commits
d4f796e0
Commit
d4f796e0
authored
1 year ago
by
johannes bilk
Browse files
Options
Downloads
Patches
Plain Diff
renamed a method
parent
401179d1
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
rootable/rootable.py
+3
-3
3 additions, 3 deletions
rootable/rootable.py
with
3 additions
and
3 deletions
rootable/rootable.py
+
3
−
3
View file @
d4f796e0
...
@@ -233,18 +233,18 @@ class Rootable:
...
@@ -233,18 +233,18 @@ class Rootable:
return
np
.
array
(
events
,
dtype
=
object
)
return
np
.
array
(
events
,
dtype
=
object
)
def
getCoordisnate
(
self
)
->
None
:
def
getCoordisnate
s
(
self
)
->
None
:
"""
"""
converting the uv coordinates, together with sensor ids, into xyz coordinates
converting the uv coordinates, together with sensor ids, into xyz coordinates
"""
"""
if
self
.
gotClusters
is
False
:
if
self
.
gotClusters
is
False
:
self
.
getClusters
()
self
.
getClusters
()
xcoords
,
ycoords
,
zcoords
=
self
.
_getC
artesian
(
self
.
data
[
'
uPosition
'
],
self
.
data
[
'
vPosition
'
],
self
.
data
[
'
sensorID
'
])
xcoords
,
ycoords
,
zcoords
=
self
.
_getC
oordisnates
(
self
.
data
[
'
uPosition
'
],
self
.
data
[
'
vPosition
'
],
self
.
data
[
'
sensorID
'
])
self
.
data
[
'
xPosition
'
]
=
xcoords
self
.
data
[
'
xPosition
'
]
=
xcoords
self
.
data
[
'
yPosition
'
]
=
ycoords
self
.
data
[
'
yPosition
'
]
=
ycoords
self
.
data
[
'
zPosition
'
]
=
zcoords
self
.
data
[
'
zPosition
'
]
=
zcoords
def
_getC
artesian
(
self
,
uPositions
:
ArrayLike
,
vPositions
:
ArrayLike
,
sensorIDs
:
ArrayLike
)
->
tuple
[
np
.
ndarray
]:
def
_getC
oordisnates
(
self
,
uPositions
:
ArrayLike
,
vPositions
:
ArrayLike
,
sensorIDs
:
ArrayLike
)
->
tuple
[
np
.
ndarray
]:
"""
"""
a private method for transposing/converting 2d uv coords into 3d xyz coordinates
a private method for transposing/converting 2d uv coords into 3d xyz coordinates
"""
"""
...
...
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