Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tomotools
Nabu
Commits
0dd8f1b9
Commit
0dd8f1b9
authored
Nov 09, 2020
by
Pierre Paleo
Browse files
dataset_analyser: replace tomo_n with len(projections)
parent
18e971f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
nabu/resources/dataset_analyzer.py
View file @
0dd8f1b9
...
...
@@ -91,7 +91,7 @@ class DatasetAnalyzer(object):
self
.
projections
=
self
.
dataset_scanner
.
projections
self
.
flats
=
self
.
dataset_scanner
.
flats
self
.
darks
=
self
.
dataset_scanner
.
darks
self
.
n_angles
=
self
.
dataset_scanner
.
tomo_n
self
.
n_angles
=
len
(
self
.
dataset_scanner
.
projections
)
self
.
radio_dims
=
(
self
.
dataset_scanner
.
dim_1
,
self
.
dataset_scanner
.
dim_2
)
self
.
_binning
=
(
1
,
1
)
self
.
translations
=
None
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment