Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F56610384
matrix.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Mar 29, 11:23
Size
298 B
Mime Type
text/x-python
Expires
Sun, Mar 31, 12:23 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
16721107
Attached To
R11301 MOLEKUEHL
matrix.py
View Options
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Jun 8 12:25:45 2021
@author: eisenbrand
"""
import
numpy
as
np
data
=
np
.
load
(
"data.npz"
,
allow_pickle
=
True
)
data
.
files
print
(
len
(
data
[
'target_CMs'
][
2
]))
T
=
data
[
'target_CMs'
][
2
]
Z
=
[
0
,
2
,
3
]
S
=
[
2
,
30
,
5
]
print
(
T
[
Z
][:,
S
])
Event Timeline
Log In to Comment