Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check Corrections #413

Merged
merged 52 commits into from
May 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
c845dae
untested, plotting missing
JoschD Mar 21, 2023
c669bdc
fixed iterations in test
JoschD Mar 22, 2023
02cbb37
trying to fix global correction test
JoschD Mar 22, 2023
295f0cc
fixed bug with no linebreak
JoschD Mar 22, 2023
0e9f437
fixed test and sorted variables
JoschD Mar 23, 2023
aabbc94
hopefully fixed response creator test
JoschD Mar 23, 2023
282d50b
more correction_params
JoschD Mar 23, 2023
c7144b8
correction_test and simple test running
JoschD Mar 24, 2023
deb56bc
missing input files + a bit more complicated test
JoschD Mar 25, 2023
647fa47
plotting and test running but not for coupling
JoschD Mar 25, 2023
83bd2fe
introducing TfsCollections
JoschD Mar 27, 2023
0ab61ab
allow variables without location information
JoschD Mar 28, 2023
dd67e57
correction test running also coupling, plotting needed
JoschD Mar 31, 2023
863c5f7
Tune correction in headers
JoschD Mar 31, 2023
585d576
first plotting works
JoschD Mar 31, 2023
0bf2a61
Plot and test running. Need some more tests and doc
JoschD Apr 3, 2023
c3a5436
added rms calculation and masked rms
JoschD Apr 4, 2023
d06bf32
input parameters updates
JoschD Apr 6, 2023
72b529f
Unkown opts
JoschD Apr 6, 2023
b7e44b6
removed optics params default
JoschD Apr 6, 2023
7507d91
more optics params fixes
JoschD Apr 6, 2023
c5efed0
removing limited number of columns
JoschD Apr 6, 2023
ea87859
fixing filename issue
JoschD Apr 6, 2023
82de17a
fixing import
JoschD Apr 7, 2023
ffca08f
deleting logbook wrapper
JoschD Apr 7, 2023
e97639d
removed incr import
JoschD Apr 7, 2023
f6f548e
fix plotting names
JoschD Apr 7, 2023
7f883eb
check for correction files
JoschD Apr 7, 2023
234c198
missing return value
JoschD Apr 8, 2023
4bf03b5
fixing looping
JoschD Apr 8, 2023
18d67fa
fixing regex pattern
JoschD Apr 8, 2023
64dca9d
files as paths
JoschD Apr 8, 2023
2f52e84
Merge branch 'master' into feature/correction_test
JoschD Apr 25, 2023
60e8a3f
required newest tfs-pandas
JoschD Apr 27, 2023
8c76b42
Merge branch 'master' into feature/correction_test
JoschD May 8, 2023
7ebe258
fixing INDEX and to_numeric
JoschD May 8, 2023
d05dcbe
fixing fakemeas test
JoschD May 8, 2023
a0bdb13
rms test moved, import fixes
JoschD May 8, 2023
956ee47
more import fixes and deprecation warning
JoschD May 8, 2023
8061387
mooore import fixes
JoschD May 8, 2023
4936907
dict to Dict
JoschD May 8, 2023
e47e592
fix plot optics meas
JoschD May 9, 2023
360ae9d
label fix
JoschD May 9, 2023
b96daa7
docstrings, use ERRAMP
JoschD May 9, 2023
c180b7a
more tests
JoschD May 12, 2023
d46e8d8
fixing review comments
JoschD May 15, 2023
cdc002d
changelog, version, removed utils_check, ArrayType, doc
JoschD May 15, 2023
b5b68ba
long docstring for check test
JoschD May 22, 2023
ea297c3
deepcopy
JoschD May 22, 2023
1442a19
filter docstring
JoschD May 22, 2023
08d46d3
more doc
JoschD May 22, 2023
46fe2f0
another doc fix
JoschD May 22, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# OMC3 Changelog

#### 2023-05-15 - v0.10.0 - _jdilly_
- Added:
- `omc3.check_corrections`: A new feature to check the validity of corrections.
- `omc3.plotting.plot_checked_corrections`: Function to plot the checked corrections.
- Unified optics-columns naming in `omc3.definitions.optics`
(but not yet propagated through the code)
- Function to calculate RMS in `omc3.utils.stats.rms`.

- Fixed:
- Some minor bugs with fake datatypes
- Doc of `ArrayType` typehints

#### 2023-04-27 - v0.9.0 - _jdilly_

- Added:
Expand Down
9 changes: 8 additions & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None
language = "en"

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
Expand Down Expand Up @@ -230,3 +230,10 @@
autodoc_mock_imports = ['PyQt5', 'PyQt5.QtGui', 'PyQt5.QtCore', 'PyQt5.QtWidgets',
"matplotlib.backends.backend_qt5agg",
]

# -- Type Aliases --------------------------------------------------------------

# This is to tell Sphinx how to print some specific type annotations
# See: https://stackoverflow.com/a/67483317
# See: https://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html#confval-autodoc_type_aliases
autodoc_type_aliases = {"ArrayLike": "ArrayLike"}
3 changes: 3 additions & 0 deletions doc/entrypoints/correction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ Correction

.. automodule:: omc3.response_creator
:members:

.. automodule:: omc3.check_corrections
:members:
3 changes: 3 additions & 0 deletions doc/entrypoints/plotting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ Plotting
.. automodule:: omc3.plotting.plot_spectrum
:members:

.. automodule:: omc3.plotting.plot_checked_corrections
:members:

.. automodule:: omc3.plotting.plot_amplitude_detuning
:members:

Expand Down
2 changes: 1 addition & 1 deletion omc3/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
__title__ = "omc3"
__description__ = "An accelerator physics tools package for the OMC team at CERN."
__url__ = "https://github.com/pylhc/omc3"
__version__ = "0.9.0"
__version__ = "0.10.0"
__author__ = "pylhc"
__author_email__ = "[email protected]"
__license__ = "MIT"
Expand Down
Loading