[yt-svn] commit/yt: 2 new changesets
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Fri May 2 06:01:19 PDT 2014
2 new commits in yt:
https://bitbucket.org/yt_analysis/yt/commits/426f55d4cab3/
Changeset: 426f55d4cab3
Branch: yt-3.0
User: ngoldbaum
Date: 2014-05-02 07:07:55
Summary: Remove outdated entries from data object docstrings.
Affected #: 2 files
diff -r 893a689ff45f9d951b367be0f3b6a8ebb9a74b18 -r 426f55d4cab3aea275bc3306f07c9a4e46d72450 yt/data_objects/construction_data_containers.py
--- a/yt/data_objects/construction_data_containers.py
+++ b/yt/data_objects/construction_data_containers.py
@@ -181,25 +181,12 @@
weight value before being integrated, and at the conclusion of the
projection the resultant values will be divided by the projected
`weight_field`.
- max_level : int
- If supplied, only cells at or below this level will be projected.
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
If specified, this will be the data source used for selecting
regions to project.
- node_name: string, optional
- The node in the .yt file to find or store this slice at. Should
- probably not be used.
- field_cuts : list of strings, optional
- If supplied, each of these strings will be evaluated to cut a
- region of a grid out. They can be of the form "grid['Temperature']
- > 100" for instance.
- preload_style : string
- Either 'level', 'all', or None (default). Defines how grids are
- loaded -- either level by level, or all at once. Only applicable
- during parallel runs.
serialize : bool, optional
Whether we should store this projection in the .yt file or not.
kwargs : dict of items
@@ -217,9 +204,9 @@
_type_name = "proj"
_con_args = ('axis', 'field', 'weight_field')
_container_fields = ('px', 'py', 'pdx', 'pdy', 'weight_field')
- def __init__(self, field, axis, weight_field = None,
- center = None, pf = None, data_source=None,
- style = "integrate", field_parameters = None):
+ def __init__(self, field, axis, weight_field=None,
+ center=None, pf=None, data_source=None,
+ style="integrate", field_parameters=None):
YTSelectionContainer2D.__init__(self, axis, pf, field_parameters)
self.proj_style = style
if style == "mip":
@@ -602,7 +589,7 @@
----------
left_edge : array_like
The left edge of the region to be extracted
- rigth_edge : array_like
+ right_edge : array_like
The left edge of the region to be extracted
dims : array_like
Number of cells along each axis of resulting grid.
diff -r 893a689ff45f9d951b367be0f3b6a8ebb9a74b18 -r 426f55d4cab3aea275bc3306f07c9a4e46d72450 yt/data_objects/selection_data_containers.py
--- a/yt/data_objects/selection_data_containers.py
+++ b/yt/data_objects/selection_data_containers.py
@@ -54,9 +54,6 @@
fields : list of strings, optional
If you want the object to pre-retrieve a set of fields, supply them
here. This is not necessary.
- kwargs : dict of items
- Any additional values are passed as field parameters that can be
- accessed by generated fields.
Examples
--------
@@ -106,9 +103,6 @@
fields : list of strings, optional
If you want the object to pre-retrieve a set of fields, supply them
here. This is not necessary.
- kwargs : dict of items
- Any additional values are passed as field parameters that can be
- accessed by generated fields.
Examples
--------
@@ -169,9 +163,6 @@
field_parameters : dictionary
A dictionary of field parameters than can be accessed by derived
fields.
- kwargs : dict of items
- Any additional values are passed as field parameters that can be
- accessed by generated fields.
Examples
--------
@@ -250,9 +241,6 @@
node_name: string, optional
The node in the .yt file to find or store this slice at. Should
probably not be used.
- kwargs : dict of items
- Any additional values are passed as field parameters that can be
- accessed by generated fields.
Notes
-----
https://bitbucket.org/yt_analysis/yt/commits/8afbcadd70e3/
Changeset: 8afbcadd70e3
Branch: yt-3.0
User: ngoldbaum
Date: 2014-05-02 07:09:23
Summary: Restore spacing in QuadTreeProj initializer.
Affected #: 1 file
diff -r 426f55d4cab3aea275bc3306f07c9a4e46d72450 -r 8afbcadd70e3649e77886a9b29c3886f2969b22f yt/data_objects/construction_data_containers.py
--- a/yt/data_objects/construction_data_containers.py
+++ b/yt/data_objects/construction_data_containers.py
@@ -204,9 +204,9 @@
_type_name = "proj"
_con_args = ('axis', 'field', 'weight_field')
_container_fields = ('px', 'py', 'pdx', 'pdy', 'weight_field')
- def __init__(self, field, axis, weight_field=None,
- center=None, pf=None, data_source=None,
- style="integrate", field_parameters=None):
+ def __init__(self, field, axis, weight_field = None,
+ center = None, pf = None, data_source = None,
+ style = "integrate", field_parameters = None):
YTSelectionContainer2D.__init__(self, axis, pf, field_parameters)
self.proj_style = style
if style == "mip":
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