[yt-svn] commit/yt: MatthewTurk: Merged in drudd/yt (pull request #1289)
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Thu Oct 30 11:08:29 PDT 2014
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/commits/c91388a95990/
Changeset: c91388a95990
Branch: yt
User: MatthewTurk
Date: 2014-10-30 18:08:17+00:00
Summary: Merged in drudd/yt (pull request #1289)
Removed all reference to AMRData and AMR3DData in doc strings
Affected #: 8 files
diff -r 7fadbdeb3628a163be440e7ee15173942c44382c -r c91388a959906a04a5db1e773537e94bcb636a62 yt/analysis_modules/halo_finding/halo_objects.py
--- a/yt/analysis_modules/halo_finding/halo_objects.py
+++ b/yt/analysis_modules/halo_finding/halo_objects.py
@@ -598,7 +598,7 @@
# 1. From saved_fields, e.g. we've already got it.
# 2. From the halo binary files off disk.
# 3. Use the unique particle indexes of the halo to select a missing
- # field from an AMR Sphere.
+ # field from a Sphere.
if key in self._saved_fields:
# We've already got it.
return self._saved_fields[key]
@@ -675,7 +675,7 @@
Returns
-------
- ellipsoid : `yt.data_objects.api.AMREllipsoidBase`
+ ellipsoid : `yt.data_objects.data_containers.YTEllipsoidBase`
The ellipsoidal data object.
Examples
@@ -754,7 +754,7 @@
# 1. From saved_fields, e.g. we've already got it.
# 2. From the halo h5 files off disk.
# 3. Use the unique particle indexes of the halo to select a missing
- # field from an AMR Sphere.
+ # field from a Sphere.
if key in self._saved_fields:
# We've already got it.
return self._saved_fields[key]
@@ -868,7 +868,7 @@
Returns
-------
- ellipsoid : `yt.data_objects.api.AMREllipsoidBase`
+ ellipsoid : `yt.data_objects.data_containers.YTEllipsoidBase`
The ellipsoidal data object.
Examples
@@ -1670,7 +1670,7 @@
----------
ds : `Dataset`
The dataset on which halo finding will be conducted.
- subvolume : `yt.data_objects.api.AMRData`, optional
+ subvolume : `yt.data_objects.data_containers.YTSelectionContainer`, optional
A region over which HOP will be run, which can be used to run HOP
on a subvolume of the full volume. Default = None, which defaults
to the full volume automatically.
@@ -1772,7 +1772,7 @@
----------
ds : `Dataset`
The dataset on which halo finding will be conducted.
- subvolume : `yt.data_objects.api.AMRData`, optional
+ subvolume : `yt.data_objects.data_containers.YTSelectionContainer`, optional
A region over which HOP will be run, which can be used to run HOP
on a subvolume of the full volume. Default = None, which defaults
to the full volume automatically.
diff -r 7fadbdeb3628a163be440e7ee15173942c44382c -r c91388a959906a04a5db1e773537e94bcb636a62 yt/analysis_modules/photon_simulator/photon_simulator.py
--- a/yt/analysis_modules/photon_simulator/photon_simulator.py
+++ b/yt/analysis_modules/photon_simulator/photon_simulator.py
@@ -150,7 +150,7 @@
Parameters
----------
- data_source : `yt.data_objects.api.AMRData`
+ data_source : `yt.data_objects.data_containers.YTSelectionContainer`
The data source from which the photons will be generated.
redshift : float
The cosmological redshift for the photons.
diff -r 7fadbdeb3628a163be440e7ee15173942c44382c -r c91388a959906a04a5db1e773537e94bcb636a62 yt/analysis_modules/sunyaev_zeldovich/projection.py
--- a/yt/analysis_modules/sunyaev_zeldovich/projection.py
+++ b/yt/analysis_modules/sunyaev_zeldovich/projection.py
@@ -120,7 +120,7 @@
The width of the projection.
nx : integer, optional
The dimensions on a side of the projection image.
- source : yt.data_objects.api.AMRData, optional
+ source : yt.data_objects.data_containers.YTSelectionContainer, optional
If specified, this will be the data source used for selecting regions to project.
Examples
@@ -182,7 +182,7 @@
The width of the projection.
nx : integer, optional
The dimensions on a side of the projection image.
- source : yt.data_objects.api.AMRData, optional
+ source : yt.data_objects.data_containers.YTSelectionContainer, optional
If specified, this will be the data source used for selecting regions to project.
Currently unsupported in yt 2.x.
diff -r 7fadbdeb3628a163be440e7ee15173942c44382c -r c91388a959906a04a5db1e773537e94bcb636a62 yt/data_objects/construction_data_containers.py
--- a/yt/data_objects/construction_data_containers.py
+++ b/yt/data_objects/construction_data_containers.py
@@ -183,7 +183,7 @@
center : array_like, optional
The 'center' supplied to fields that use it. Note that this does
not have to have `coord` as one value. Strictly optional.
- data_source : `yt.data_objects.api.AMRData`, optional
+ data_source : `yt.data_objects.data_containers.YTSelectionContainer`, optional
If specified, this will be the data source used for selecting
regions to project.
method : string, optional
@@ -850,7 +850,7 @@
Parameters
----------
- data_source : AMR3DDataObject
+ data_source : YTSelectionContainer
This is the object which will used as a source
surface_field : string
Any field that can be obtained in a data object. This is the field
diff -r 7fadbdeb3628a163be440e7ee15173942c44382c -r c91388a959906a04a5db1e773537e94bcb636a62 yt/data_objects/profiles.py
--- a/yt/data_objects/profiles.py
+++ b/yt/data_objects/profiles.py
@@ -1242,7 +1242,7 @@
Parameters
----------
- data_source : AMR3DData Object
+ data_source : YTSelectionContainer Object
The data object to be profiled.
bin_fields : list of strings
List of the binning fields for profiling.
diff -r 7fadbdeb3628a163be440e7ee15173942c44382c -r c91388a959906a04a5db1e773537e94bcb636a62 yt/utilities/particle_generator.py
--- a/yt/utilities/particle_generator.py
+++ b/yt/utilities/particle_generator.py
@@ -325,7 +325,7 @@
----------
ds : `Dataset`
The dataset which will serve as the base for these particles.
- data_source : `yt.data_objects.api.AMRData`
+ data_source : `yt.data_objects.data_containers.YTSelectionContainer`
The data source containing the density field.
num_particles : int
The number of particles to be generated
diff -r 7fadbdeb3628a163be440e7ee15173942c44382c -r c91388a959906a04a5db1e773537e94bcb636a62 yt/visualization/plot_window.py
--- a/yt/visualization/plot_window.py
+++ b/yt/visualization/plot_window.py
@@ -158,8 +158,8 @@
Parameters
----------
- data_source : :class:`yt.data_objects.data_containers.AMRProjBase` or
- :class:`yt.data_objects.data_containers.AMRSliceBase`
+ data_source : :class:`yt.data_objects.data_containers.YTProjBase` or
+ :class:`yt.data_objects.data_containers.YTSliceBase`
This is the source to be pixelized, which can be a projection or a
slice. (For cutting planes, see
`yt.visualization.fixed_resolution.ObliqueFixedResolutionBuffer`.)
@@ -1141,7 +1141,7 @@
('{yloc}', '{xloc}', '{space}') ('lower', 'right', 'window')
================================== ============================
- data_source : AMR3DData Object
+ data_source : YTSelectionContainer Object
Object to be used for data selection. Defaults to a region covering
the entire simulation.
weight_field : string
diff -r 7fadbdeb3628a163be440e7ee15173942c44382c -r c91388a959906a04a5db1e773537e94bcb636a62 yt/visualization/profile_plotter.py
--- a/yt/visualization/profile_plotter.py
+++ b/yt/visualization/profile_plotter.py
@@ -120,7 +120,7 @@
Parameters
----------
- data_source : AMR3DData Object
+ data_source : YTSelectionContainer Object
The data object to be profiled, such as all_data, region, or
sphere.
x_field : str
@@ -618,7 +618,7 @@
Parameters
----------
- data_source : AMR3DData Object
+ data_source : YTSelectionContainer Object
The data object to be profiled, such as all_data, region, or
sphere.
x_field : str
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