[yt-svn] commit/yt: 3 new changesets
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Tue Dec 2 13:26:30 PST 2014
3 new commits in yt:
https://bitbucket.org/yt_analysis/yt/commits/d86aa2bffcfa/
Changeset: d86aa2bffcfa
Branch: yt
User: brittonsmith
Date: 2014-12-02 21:18:52+00:00
Summary: Updating halo analysis notebook and cookbook recipes.
Affected #: 2 files
diff -r 8d144ae1a0e76369339f08b4633a6ef7eb91e7fc -r d86aa2bffcfa15736a73efde6388cb9cd2c120f8 doc/source/cookbook/Halo_Analysis.ipynb
--- a/doc/source/cookbook/Halo_Analysis.ipynb
+++ b/doc/source/cookbook/Halo_Analysis.ipynb
@@ -1,7 +1,7 @@
{
"metadata": {
"name": "",
- "signature": "sha256:c423bcb9e3370a4581cbaaa8e764b95ec13e665aa3b46d452891d76cc79d7acf"
+ "signature": "sha256:083fded18194cc4b6d9ebf6d04e24a7f1d90cf57831ff0155e99868c0ace73b7"
},
"nbformat": 3,
"nbformat_minor": 0,
@@ -151,10 +151,10 @@
"collapsed": false,
"input": [
"# use the sphere to calculate radial profiles of gas density weighted by cell volume in terms of the virial radius\n",
- "hc.add_callback(\"profile\", x_field=\"radius\",\n",
- " y_fields=[(\"gas\", \"overdensity\")],\n",
+ "hc.add_callback(\"profile\", [\"radius\"],\n",
+ " [(\"gas\", \"overdensity\")],\n",
" weight_field=\"cell_volume\", \n",
- " accumulation=False,\n",
+ " accumulation=True,\n",
" storage=\"virial_quantities_profiles\")"
],
"language": "python",
diff -r 8d144ae1a0e76369339f08b4633a6ef7eb91e7fc -r d86aa2bffcfa15736a73efde6388cb9cd2c120f8 doc/source/cookbook/halo_profiler.py
--- a/doc/source/cookbook/halo_profiler.py
+++ b/doc/source/cookbook/halo_profiler.py
@@ -21,7 +21,7 @@
hc.add_callback("profile", ["radius"],
[("gas", "overdensity")],
weight_field="cell_volume",
- accumulation=False,
+ accumulation=True,
storage="virial_quantities_profiles")
https://bitbucket.org/yt_analysis/yt/commits/8360cea8cd15/
Changeset: 8360cea8cd15
Branch: yt
User: brittonsmith
Date: 2014-12-02 21:25:17+00:00
Summary: Fixing quotes.
Affected #: 1 file
diff -r d86aa2bffcfa15736a73efde6388cb9cd2c120f8 -r 8360cea8cd152462ce0a25c47e1224c4f4e7ef77 doc/source/analyzing/filtering.rst
--- a/doc/source/analyzing/filtering.rst
+++ b/doc/source/analyzing/filtering.rst
@@ -201,7 +201,7 @@
prj.show()
- slc = yt.SlicePlot(ds, "x", "density", center=c, width=(50, 'Mpc"),
+ slc = yt.SlicePlot(ds, "x", "density", center=c, width=(50, "Mpc"),
data_source=sp)
slc.show()
https://bitbucket.org/yt_analysis/yt/commits/31ae0c99074a/
Changeset: 31ae0c99074a
Branch: yt
User: xarthisius
Date: 2014-12-02 21:26:23+00:00
Summary: Merged in brittonsmith/yt (pull request #1325)
Fixing error in docs build from halo analysis notebook.
Affected #: 3 files
diff -r f345b75e59b46b923a81f267380cea2d84c92dbc -r 31ae0c99074a8cae7e61041d94d477cc1dfe2c10 doc/source/analyzing/filtering.rst
--- a/doc/source/analyzing/filtering.rst
+++ b/doc/source/analyzing/filtering.rst
@@ -201,7 +201,7 @@
prj.show()
- slc = yt.SlicePlot(ds, "x", "density", center=c, width=(50, 'Mpc"),
+ slc = yt.SlicePlot(ds, "x", "density", center=c, width=(50, "Mpc"),
data_source=sp)
slc.show()
diff -r f345b75e59b46b923a81f267380cea2d84c92dbc -r 31ae0c99074a8cae7e61041d94d477cc1dfe2c10 doc/source/cookbook/Halo_Analysis.ipynb
--- a/doc/source/cookbook/Halo_Analysis.ipynb
+++ b/doc/source/cookbook/Halo_Analysis.ipynb
@@ -1,7 +1,7 @@
{
"metadata": {
"name": "",
- "signature": "sha256:c423bcb9e3370a4581cbaaa8e764b95ec13e665aa3b46d452891d76cc79d7acf"
+ "signature": "sha256:083fded18194cc4b6d9ebf6d04e24a7f1d90cf57831ff0155e99868c0ace73b7"
},
"nbformat": 3,
"nbformat_minor": 0,
@@ -151,10 +151,10 @@
"collapsed": false,
"input": [
"# use the sphere to calculate radial profiles of gas density weighted by cell volume in terms of the virial radius\n",
- "hc.add_callback(\"profile\", x_field=\"radius\",\n",
- " y_fields=[(\"gas\", \"overdensity\")],\n",
+ "hc.add_callback(\"profile\", [\"radius\"],\n",
+ " [(\"gas\", \"overdensity\")],\n",
" weight_field=\"cell_volume\", \n",
- " accumulation=False,\n",
+ " accumulation=True,\n",
" storage=\"virial_quantities_profiles\")"
],
"language": "python",
diff -r f345b75e59b46b923a81f267380cea2d84c92dbc -r 31ae0c99074a8cae7e61041d94d477cc1dfe2c10 doc/source/cookbook/halo_profiler.py
--- a/doc/source/cookbook/halo_profiler.py
+++ b/doc/source/cookbook/halo_profiler.py
@@ -21,7 +21,7 @@
hc.add_callback("profile", ["radius"],
[("gas", "overdensity")],
weight_field="cell_volume",
- accumulation=False,
+ accumulation=True,
storage="virial_quantities_profiles")
Repository URL: https://bitbucket.org/yt_analysis/yt/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the yt-svn
mailing list