Skip to content
Snippets Groups Projects
Commit 4929b918 authored by Laura Christine Kühle's avatar Laura Christine Kühle
Browse files

Added Seaborn for better plotting.

parent 9fa8a48c
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@
import os
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
from sympy import Symbol, integrate
x = Symbol('x')
......@@ -40,7 +41,7 @@ class TroubledCellDetector(object):
self._colors['approx'] = self._colors.get('approx', 'y')
def _reset(self, config):
pass
sns.set()
def get_name(self):
return self.__class__.__name__
......@@ -188,6 +189,8 @@ class WaveletDetector(TroubledCellDetector):
self._colors['coarse_approx'] = self._colors.get('coarse_approx', 'y')
def _reset(self, config):
super()._reset(config)
# Set additional necessary parameter
self._num_coarse_grid_cells = self._num_grid_cells//2
self._wavelet_projection_left, self._wavelet_projection_right = self._basis.get_multiwavelet_projections()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment