Commit graph

2480 commits

Author SHA1 Message Date
Fabian Joswig
e6051d7ba0
docs: docstring of least_squares updated. 2023-03-07 16:39:37 +00:00
fjosw
e41f457ffd Documentation updated 2023-03-07 16:16:16 +00:00
fjosw
c3eee00df7 Merge branch 'develop' into documentation 2023-03-07 16:15:37 +00:00
Fabian Joswig
839d9214ed
Improved prior fit (#161)
* refactor: merged combined fit and prior fit without breaking the
routine. Fitting with priors does not work yet.

* refactor: correlated fits without priors work now.

* refactor: prior error propagation and dof fixed.

* refactor: old prior fit implementation moved to tests.

* refactor: moved _extract_val_and_dval out of least_squares.

* refactor: comment removed.

* tests: additional tests and exceptions added.

* tests: test for constrained prior fit added.

* docs: least_squares docstring extended.

* fix: linting errors fixed.

* feat: additional if cause for fits without priors added to achieve
original speed.

* tests: test_constrained_and_prior_fit fixed.

* fix: fix array cast of least_squares dict mode.

* tests: test for lists in dict fit added.

* fix: additional asarray added in resplot.

Co-authored-by: Simon Kuberski <simon.kuberski@uni-muenster.de>
2023-03-07 16:15:16 +00:00
fjosw
7442a792ff Documentation updated 2023-03-03 16:36:18 +00:00
fjosw
bcb4f44a50 Merge branch 'develop' into documentation 2023-03-03 16:35:43 +00:00
fjosw
09e20b4183 Documentation updated 2023-03-03 16:35:37 +00:00
Fabian Joswig
82cd2f11ea
fix: multi dim fits fixed in least squares. Test added. (#160)
Co-authored-by: Simon Kuberski <simon.kuberski@uni-muenster.de>
2023-03-03 16:35:26 +00:00
fjosw
15c26d729e Merge branch 'develop' into documentation 2023-03-03 16:34:50 +00:00
Fabian Joswig
cb289a55ec
Merge pull request #158 from fjosw/refactor/fits2
Refactor chisquare function in least squares
2023-03-03 16:34:28 +00:00
fjosw
c1de17e939 Documentation updated 2023-03-02 18:55:32 +00:00
fjosw
00b05b4a7d Merge branch 'develop' into documentation 2023-03-02 18:54:58 +00:00
Fabian Joswig
9ef7e504a0
chore: Exceptions in Obs.__init__ made more explicit. 2023-03-02 18:54:08 +00:00
Fabian Joswig
2ac38515b6
refactor: logic in least square fits simplified.
Co-authored-by: Simon Kuberski <simon.kuberski@uni-muenster.de>
2023-03-02 18:42:55 +00:00
Fabian Joswig
a140b2ab39
refactor: removed redundant formulations of the chisquare function in
least_squares.
2023-03-01 16:29:59 +00:00
Fabian Joswig
ee2944d5b0
refactor: chisqfunc rewritten as sum over residuals. 2023-03-01 16:12:31 +00:00
fjosw
b5dd5c9f19 Documentation updated 2023-03-01 10:01:44 +00:00
fjosw
41cec9982b Merge branch 'develop' into documentation 2023-03-01 10:01:00 +00:00
Fabian Joswig
dc7033e51f
refactor: _standard_fit method made redundant. (#154)
* refactor: _standard_fit method made redundant.

* fix: xs and yz in Corr.fit promoted to arrays.

* fix: x promoted to array in _combined_fit if input is just a list.

* feat: residual_plot and qqplot now work with combined fits with
dictionary inputs.

* tests: test for combined fit resplot and qqplot added.

* docs: docstring of fits.residual_plot extended.
2023-03-01 10:00:35 +00:00
fjosw
750fc6febe Documentation updated 2023-02-28 15:47:47 +00:00
fjosw
d0485baca7 Merge branch 'develop' into documentation 2023-02-28 15:47:14 +00:00
Fabian Joswig
de35332a80
Merge pull request #157 from fjosw/fix/calc_rho_large_t
_calculate_drho for large time separations
2023-02-28 15:46:54 +00:00
Fabian Joswig
d81d6ea0b8
fix: loop range in standard windowing procedure adjusted by gapsize
- Test added

Co-authored-by: Simon Kuberski <simon.kuberski@uni-muenster.de>
2023-02-27 21:43:29 +00:00
fjosw
d9f7615c8d Documentation updated 2023-02-27 10:23:57 +00:00
fjosw
e3cf631113 Merge branch 'develop' into documentation 2023-02-27 10:23:22 +00:00
Fabian Joswig
a33c0a205a
feat: added __slots__ to Corr class. (#155) 2023-02-27 10:23:02 +00:00
Fabian Joswig
e85d7dfde6
ci: flake8 workflow made more strict again (and CONTRIBUTING.md updated.) 2023-02-26 19:08:47 +00:00
Fabian Joswig
854b46c5b4
chore: reformat in _compute_drho. 2023-02-26 18:58:54 +00:00
Fabian Joswig
8bc204fc31
tests: nan obs test added. 2023-02-26 18:56:46 +00:00
Fabian Joswig
3b773b7b52
ci: default ignore options added to flake8 workflow and CONTRIBUTING.md
updated.
2023-02-26 18:55:16 +00:00
Fabian Joswig
82adb215be
fix: _compute_drho now also works for i > w_max / 2. 2023-02-26 18:49:54 +00:00
Fabian Joswig
a2ed2653c6
ci: examples workflow now avoids matplotlib v3.7.0 which breaks import
of local style files.
2023-02-19 18:42:38 +00:00
fjosw
9a18eb95fd Documentation updated 2023-02-19 18:32:00 +00:00
fjosw
525448eaa4 Merge branch 'develop' into documentation 2023-02-19 18:31:11 +00:00
Fabian Joswig
a538be82d7
ci: example workflow fail fast false. 2023-02-19 18:30:33 +00:00
fjosw
a3972a2a23 Documentation updated 2023-02-17 11:51:53 +00:00
fjosw
39f000fc07 Merge branch 'develop' into documentation 2023-02-17 11:51:19 +00:00
Justus Kuhlmann
0bc08be634
Impr/refactor find files (#153)
* wrote small test for ms5_xsf read method

* small bug in ms5_xsf found

* first version of refactoring with test

* built _find_files into openQCD module

* postfix can now be used as before

* altered test data to be smaller

* read_rwms throws better Exception now

* typo corrected

* better tests for postfixes, also added similar solution for ext variable

* added method to sort names of files and replica better
2023-02-17 11:51:00 +00:00
fjosw
156a1a5eba Documentation updated 2023-02-13 16:55:27 +00:00
fjosw
85fffb84fe Merge branch 'develop' into documentation 2023-02-13 16:54:49 +00:00
Fabian Joswig
ee74ec4ed7
feat: removed computation of drho from standard windowing procedure. (#152) 2023-02-13 16:54:28 +00:00
fjosw
cb993cb92e Documentation updated 2023-02-08 14:53:27 +00:00
fjosw
5268a32522 Merge branch 'develop' into documentation 2023-02-08 14:52:47 +00:00
Justus Kuhlmann
cef3c3e793
Impr/refactor find files (#151)
* wrote small test for ms5_xsf read method

* small bug in ms5_xsf found

* first version of refactoring with test

* built _find_files into openQCD module

* postfix can now be used as before

* altered test data to be smaller

* read_rwms throws better Exception now

* typo corrected

* better tests for postfixes, also added similar solution for ext variable
2023-02-08 14:52:29 +00:00
fjosw
06968d6572 Documentation updated 2023-02-07 13:15:50 +00:00
fjosw
39f7fcf209 Merge branch 'develop' into documentation 2023-02-07 13:15:00 +00:00
Fabian Joswig
bd66075f91
build: version number bumped to 2.7.0+dev. 2023-02-07 13:14:29 +00:00
fjosw
378e590b67 Documentation updated 2023-02-07 13:09:43 +00:00
fjosw
f9d278b135 Merge branch 'develop' into documentation 2023-02-07 13:09:05 +00:00
Fabian Joswig
b6ebb64469
build: version number bumped to 2.6.0 2023-02-07 13:08:29 +00:00