Skip to content

Commit

Permalink
request matplotlib <3.8 and numpy<2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
GuenterQuast committed Oct 8, 2024
1 parent 8f35136 commit 68c9090
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 12 deletions.
27 changes: 18 additions & 9 deletions examples/run_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,40 +9,49 @@ echo ""
set -e

# reading data
echo " *** testing data reading"
python3 test_readtxt.py
python3 test_readColumnData.py
python3 test_readPicoScope.py
python3 test_readCassy.py
python3 test_labxParser.py

# statistics
echo " *** testing error propagation"
python3 test_propagatedError.py

# signal processing
echo " *** testing signal processing"
python3 test_AutoCorrelation.py
python3 test_convolutionFilter.py
python3 test_Fourier.py

# histogramming
echo " *** testing historgram"
python3 test_Histogram.py

# regression and fititing
echo " *** testing simple fit"
python3 test_linRegression.py
echo " *** testing fits"
python3 test_odFit.py
python3 test_xyFit.py
python3 test_simplek2Fit.py
python3 test_k2Fit.py
python3 test_k2hFit.py
python3 test_hFit.py
python3 test_mlFit.py
python3 test_xFit.py
echo " *** testing kafe2 fits"
python3 test_simplek2Fit.py
python3 test_k2Fit.py
python3 test_k2hFit.py

# toy data
echo " *** testing toy data generation"
python3 test_generateData.py
# multiple fits with toy data
python3 toyMC_Fit.py 100

# histogramming
python3 test_Histogram.py

# more complex examples
echo " *** running examples"
python3 Beispiel_Diodenkennlinie.py
python3 Beispiel_Drehpendel.py
python3 Beispiel_Hysterese.py
Expand All @@ -51,14 +60,14 @@ python3 Beispiel_MultiFit.py
python3 Beispiel_GeomOptik.py
python3 Beispiel_GammaSpektroskopie.py

rm -rf .kafe


# check stand-alone tools
echo " *** testing stand-alone tools"
cd ../tools
plotData.py data.ydat
run_phyFit.py simpleFit.yfit

rm -rf .kafe

echo ""
echo "all tests done"
echo ""
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# requirements to run jupyter tutorials in this repo
numpy
matplotlib
numpy <2.0
matplotlib <3.8
scipy
pandas
iminuit
iminuit
kafe2
uncertainties

0 comments on commit 68c9090

Please sign in to comment.