Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
tomoscan
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
tomotools
tomoscan
Commits
b9375596
Commit
b9375596
authored
2 months ago
by
Jerome Lesaint
Browse files
Options
Downloads
Patches
Plain Diff
Pylint: detected_folders in base class FluoTomoScanBase
parent
e6b990b9
No related branches found
No related tags found
1 merge request
!248
WIP: Add handling of 2D XRFDATA. Angles in 2D still to handle
Pipeline
#216109
failed
2 months ago
Stage: style
Stage: linting
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tomoscan/esrf/__init__.py
+2
-1
2 additions, 1 deletion
tomoscan/esrf/__init__.py
tomoscan/esrf/scan/fluoscan.py
+2
-2
2 additions, 2 deletions
tomoscan/esrf/scan/fluoscan.py
with
4 additions
and
3 deletions
tomoscan/esrf/__init__.py
+
2
−
1
View file @
b9375596
"""
module dedicated to esrf scans
"""
"""
module dedicated to esrf scans
"""
from
.scan.edfscan
import
EDFTomoScan
# noqa F401
from
.scan.edfscan
import
EDFTomoScan
# noqa F401
from
.scan.fluoscan
import
FluoTomoScan
# noqa F401
from
.scan.fluoscan
import
FluoTomoScan3D
# noqa F401
from
.scan.fluoscan
import
FluoTomoScan2D
# noqa F401
from
.scan.nxtomoscan
import
NXtomoScan
# noqa F401
from
.scan.nxtomoscan
import
NXtomoScan
# noqa F401
from
.scan.nxtomoscan
import
HDF5TomoScan
# noqa F401
from
.scan.nxtomoscan
import
HDF5TomoScan
# noqa F401
from
.volume.edfvolume
import
EDFVolume
# noqa F401
from
.volume.edfvolume
import
EDFVolume
# noqa F401
...
...
This diff is collapsed.
Click to expand it.
tomoscan/esrf/scan/fluoscan.py
+
2
−
2
View file @
b9375596
...
@@ -58,6 +58,7 @@ class FluoTomoScanBase:
...
@@ -58,6 +58,7 @@ class FluoTomoScanBase:
el_lines
:
dict
[
str
,
list
[
str
]]
=
field
(
default_factory
=
dict
)
el_lines
:
dict
[
str
,
list
[
str
]]
=
field
(
default_factory
=
dict
)
pixel_size
:
float
|
None
=
None
pixel_size
:
float
|
None
=
None
energy
:
float
|
None
=
None
energy
:
float
|
None
=
None
detected_folders
:
list
[
str
]
=
[]
def
__post_init__
(
self
):
def
__post_init__
(
self
):
self
.
detected_detectors
=
tuple
(
self
.
detect_detectors
())
self
.
detected_detectors
=
tuple
(
self
.
detect_detectors
())
...
@@ -72,6 +73,7 @@ class FluoTomoScanBase:
...
@@ -72,6 +73,7 @@ class FluoTomoScanBase:
)
)
self
.
detect_elements
()
self
.
detect_elements
()
@property
@property
def
rot_angles_deg
(
self
)
->
NDArray
:
def
rot_angles_deg
(
self
)
->
NDArray
:
if
self
.
angles
is
None
:
if
self
.
angles
is
None
:
...
@@ -288,8 +290,6 @@ class FluoTomoScan3D(FluoTomoScanBase):
...
@@ -288,8 +290,6 @@ class FluoTomoScan3D(FluoTomoScanBase):
raise
NotImplementedError
(
"
Not implemented for fluo-tomo yet.
"
)
raise
NotImplementedError
(
"
Not implemented for fluo-tomo yet.
"
)
FluoTomoScan
=
FluoTomoScan3D
@dataclass
@dataclass
class
FluoTomoScan2D
(
FluoTomoScanBase
):
class
FluoTomoScan2D
(
FluoTomoScanBase
):
...
...
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