Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
X
xsocs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
22
Issues
22
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
kmap
xsocs
Commits
39a14251
Commit
39a14251
authored
Nov 21, 2018
by
Thomas Vincent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use xsocs.process.fit to import things
parent
55e5aeca
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
7 deletions
+8
-7
xsocs/gui/process/FitWidget.py
xsocs/gui/process/FitWidget.py
+1
-1
xsocs/gui/view/FitView.py
xsocs/gui/view/FitView.py
+1
-1
xsocs/gui/view/fitview/DropPlotWidget.py
xsocs/gui/view/fitview/DropPlotWidget.py
+1
-1
xsocs/gui/view/fitview/FitModel.py
xsocs/gui/view/fitview/FitModel.py
+1
-3
xsocs/process/fit/__init__.py
xsocs/process/fit/__init__.py
+3
-0
xsocs/process/test/test_fitter.py
xsocs/process/test/test_fitter.py
+1
-1
No files found.
xsocs/gui/process/FitWidget.py
View file @
39a14251
...
...
@@ -40,7 +40,7 @@ from ..widgets.Containers import GroupBox
from
..widgets.RoiAxisWidget
import
RoiAxisWidget
from
..widgets.Input
import
StyledLineEdit
from
...process.fit
.peak_fit
import
PeakFitter
,
FitTypes
from
...process.fit
import
PeakFitter
,
FitTypes
from
...io.FitH5
import
BackgroundTypes
...
...
xsocs/gui/view/FitView.py
View file @
39a14251
...
...
@@ -46,7 +46,7 @@ from .fitview.FitModel import FitModel, FitH5Node
from
.fitview.DropPlotWidget
import
DropPlotWidget
from
.fitview.Plotter
import
GaussianPlotter
,
CentroidPlotter
from
...process.fit
.peak_fit
import
background_estimation
,
BackgroundTypes
from
...process.fit
import
background_estimation
,
BackgroundTypes
from
...util
import
project
...
...
xsocs/gui/view/fitview/DropPlotWidget.py
View file @
39a14251
...
...
@@ -34,7 +34,7 @@ import numpy as np
from
silx.gui
import
qt
as
Qt
from
....io.FitH5
import
FitH5
,
FitH5QAxis
from
....process.fit
.fitresults
import
FitStatus
from
....process.fit
import
FitStatus
from
...widgets.XsocsPlot2D
import
XsocsPlot2D
...
...
xsocs/gui/view/fitview/FitModel.py
View file @
39a14251
...
...
@@ -43,9 +43,7 @@ from ...project.Hdf5Nodes import H5File
from
...project.Hdf5Nodes
import
H5Base
,
H5NodeClassDef
from
....io.FitH5
import
FitH5
,
FitH5QAxis
from
....process.fit.fitresults
import
FitStatus
from
....process.fit
import
FitStatus
@
H5NodeClassDef
(
'FitH5'
)
...
...
xsocs/process/fit/__init__.py
View file @
39a14251
...
...
@@ -26,3 +26,6 @@
__authors__
=
[
"D. Naudet"
]
__license__
=
"MIT"
__date__
=
"01/05/2017"
from
.peak_fit
import
FitTypes
,
FitStatus
,
PeakFitter
# noqa
from
.peak_fit
import
BackgroundTypes
,
background_estimation
# noqa
xsocs/process/test/test_fitter.py
View file @
39a14251
...
...
@@ -44,7 +44,7 @@ from silx.utils.testutils import ParametricTestCase
from
xsocs
import
config
from
xsocs.test.utils
import
test_resources
from
xsocs.process.fit
.peak_fit
import
PeakFitter
from
xsocs.process.fit
import
PeakFitter
from
xsocs.io.FitH5
import
FitH5
...
...
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