Skip to content
This repository has been archived by the owner on Nov 17, 2022. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
s6emschw committed Dec 3, 2021
2 parents 869aa1f + 8b15dd0 commit 5edea4f
Show file tree
Hide file tree
Showing 6 changed files with 68 additions and 829 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Expand Up @@ -10,7 +10,7 @@ repos:
- id: debug-statements
- id: end-of-file-fixer
- repo: https://github.com/asottile/pyupgrade
rev: v2.29.0
rev: v2.29.1
hooks:
- id: pyupgrade
args: [--py36-plus]
Expand All @@ -19,11 +19,11 @@ repos:
hooks:
- id: reorder-python-imports
- repo: https://github.com/psf/black
rev: 21.9b0
rev: 21.11b1
hooks:
- id: black
- repo: https://github.com/asottile/blacken-docs
rev: v1.11.0
rev: v1.12.0
hooks:
- id: blacken-docs
additional_dependencies: [black==20.8b1]
Expand All @@ -38,7 +38,7 @@ repos:
flake8-todo, flake8-unused-arguments, pep8-naming, pydocstyle, Pygments,
]
- repo: https://github.com/PyCQA/doc8
rev: 0.9.1
rev: 0.10.1
hooks:
- id: doc8
#- repo: local
Expand Down
14 changes: 4 additions & 10 deletions environment.yml
Expand Up @@ -7,37 +7,31 @@ channels:

dependencies:
- chaospy
- estimagic
- flake8
- ipython
- ipykernel
- jupyterlab
- jupyter
- jupyter_contrib_nbextensions
- jupyter_nbextensions_configurator
- matplotlib
- black>=20.8b1
- black
- nbsphinx
- numpy
- pandoc
- pandas>=1.1.0
- pandas
- pip
- pre-commit
- pytest
- pytest-black
- pytest-flake8
- pytest-repeat
- respy
- restructuredtext_lint
- scipy
- scikit-learn
- seaborn
- temfpy>=1.2.0
- temfpy
- numdifftools
- chaospy
- scikit-learn
- pip:
- black-nb
- flake8-nb
- sphinx_rtd_theme
- sphinxcontrib-bibtex>=2.0.0
- sphinxcontrib-bibtex
4 changes: 2 additions & 2 deletions labs/approximation/approximation_algorithms.py
Expand Up @@ -2,8 +2,8 @@
import numpy as np
from scipy.interpolate import interp1d

from approximation_auxiliary import get_chebyshev_nodes
from approximation_auxiliary import get_uniform_nodes
from labs.approximation.approximation_auxiliary import get_chebyshev_nodes
from labs.approximation.approximation_auxiliary import get_uniform_nodes


def get_interpolator_runge_baseline(func):
Expand Down
12 changes: 6 additions & 6 deletions labs/approximation/approximation_plots.py
Expand Up @@ -6,12 +6,12 @@
from scipy.interpolate import interp1d
from temfpy.interpolation import runge

from approximation_algorithms import get_interpolator_monomial_flexible_nodes
from approximation_auxiliary import get_chebyshev_nodes
from approximation_auxiliary import get_uniform_nodes
from approximation_auxiliary import spline_basis
from approximation_problems import problem_reciprocal_exponential
from approximation_problems import problem_two_dimensions
from labs.approximation.approximation_algorithms import get_interpolator_monomial_flexible_nodes
from labs.approximation.approximation_auxiliary import get_chebyshev_nodes
from labs.approximation.approximation_auxiliary import get_uniform_nodes
from labs.approximation.approximation_auxiliary import spline_basis
from labs.approximation.approximation_problems import problem_reciprocal_exponential
from labs.approximation.approximation_problems import problem_two_dimensions


def plot_runge():
Expand Down

0 comments on commit 5edea4f

Please sign in to comment.