Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
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
RadioObservatory
LOFAR
Commits
a1307f0c
Commit
a1307f0c
authored
10 years ago
by
Pieter Donker
Browse files
Options
Downloads
Patches
Plain Diff
Task #7314: removed fixed array size in data_lib
parent
d2521aae
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
LCU/checkhardware/lib/data_lib.py
+1
-1
1 addition, 1 deletion
LCU/checkhardware/lib/data_lib.py
with
1 addition
and
1 deletion
LCU/checkhardware/lib/data_lib.py
+
1
−
1
View file @
a1307f0c
...
...
@@ -102,7 +102,7 @@ class cRCUdata:
def
readFiles
(
self
):
files_in_dir
=
sorted
(
os
.
listdir
(
dataDir
()))
data_shape
=
self
.
readFile
(
os
.
path
.
join
(
dataDir
(),
files_in_dir
[
0
])).
shape
ssdata
=
np
.
zeros
((
96
,
data_shape
[
0
],
data_shape
[
1
]),
dtype
=
np
.
float64
)
ssdata
=
np
.
zeros
((
self
.
n_rcus
,
data_shape
[
0
],
data_shape
[
1
]),
dtype
=
np
.
float64
)
for
file_name
in
files_in_dir
:
#path, filename = os.split(file_name)
rcu
=
int
(
file_name
.
split
(
'
.
'
)[
0
][
-
3
:])
...
...
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