Skip to content

Commit

Permalink
fix JSON format of notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
gschnabel committed Oct 24, 2022
1 parent 4ff4c55 commit 2a7e6f5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions examples/example-002-chisquare-calc.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"source": [
"import numpy as np\n",
"from scipy.sparse.linalg import spsolve\n",
from gmapy.legacy.legacy_gmap import run_gmap\n",
from gmapy.mappings.compound_map import CompoundMap\n",
"from gmapy.legacy.legacy_gmap import run_gmap\n",
"from gmapy.mappings.compound_map import CompoundMap\n",
"dbfile = '../tests/testdata/data-2017-07-26.gma'"
]
},
Expand Down
4 changes: 2 additions & 2 deletions examples/example-003-plot-evaluation-results.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"import pandas as pd\n",
"from numpy.random import default_rng\n",
"import matplotlib.pyplot as plt\n",
from gmapy.legacy.legacy_gmap import run_gmap\n",
from gmapy.mappings.compound_map import CompoundMap\n",
"from gmapy.legacy.legacy_gmap import run_gmap\n",
"from gmapy.mappings.compound_map import CompoundMap\n",
"dbfile = '../tests/testdata/data-2017-07-26.gma'"
]
},
Expand Down
2 changes: 1 addition & 1 deletion examples/example-004-python-versus-fortran-gmap.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"source": [
"import numpy as np\n",
"import pandas as pd\n",
from gmapy.legacy.legacy_gmap import run_gmap"
"from gmapy.legacy.legacy_gmap import run_gmap"
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions examples/example-005-compute-sacs-results.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"source": [
"import numpy as np\n",
"import pandas as pd\n",
from gmapy.legacy.legacy_gmap import run_gmap"
"from gmapy.legacy.legacy_gmap import run_gmap"
]
},
{
Expand Down Expand Up @@ -584,7 +584,7 @@
}
],
"source": [
from gmapy.mappings.compound_map import CompoundMap\n",
"from gmapy.mappings.compound_map import CompoundMap\n",
"compmap = CompoundMap(fix_sacs_jacobian=True)\n",
"predvals1 = compmap.propagate(syntable1, syntable1.POST.to_numpy())\n",
"predvals2 = compmap.propagate(syntable2, syntable2.POST.to_numpy())\n",
Expand Down

0 comments on commit 2a7e6f5

Please sign in to comment.