Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F62482243
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
Mon, May 13, 12:37
Size
298 B
Mime Type
text/x-python
Expires
Wed, May 15, 12:37 (2 d)
Engine
blob
Format
Raw Data
Handle
17652149
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