Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
Nabu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
66
Issues
66
List
Boards
Labels
Service Desk
Milestones
Jira
Jira
Merge Requests
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tomotools
Nabu
Commits
57425323
Commit
57425323
authored
Nov 20, 2020
by
Pierre Paleo
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ignore_projections' into 'master'
Ignore projections Closes
#187
See merge request
!94
parents
18e971f0
ccda08db
Pipeline
#37568
passed with stages
in 4 minutes and 56 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
nabu/resources/dataset_analyzer.py
nabu/resources/dataset_analyzer.py
+2
-2
No files found.
nabu/resources/dataset_analyzer.py
View file @
57425323
...
...
@@ -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
...
...
@@ -144,7 +144,7 @@ class DatasetAnalyzer(object):
return
# Extraneous projections are assumed to be on the end
projs_indices
=
sorted
(
self
.
projections
.
keys
())
used_radios_range
=
range
(
projs_indices
[
0
],
self
.
n_angles
)
used_radios_range
=
range
(
projs_indices
[
0
],
self
.
dataset_scanner
.
tomo_n
)
radios_not_used
=
[]
for
idx
in
self
.
projections
.
keys
():
if
idx
not
in
used_radios_range
:
...
...
Write
Preview
Markdown
is supported
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