Hi,
I did some simple volume rendering with the following script:
volume2 = AMRKDTree(pf, fields=["Dark_Matter_Density"],
no_ghost=False, tree_type="domain",
le=c-0.5*WW, re=c+0.5*WW)
cam = pf.h.camera(c, L, W, N, tf, volume=volume2, no_ghost=False,
north_vector=L, steady_north=True)
cam.snapshot(fn="%s_iso-DMdensity-%3.3d.png" % (filenameTHIS, j))
I got rather strange results in that the pictures look symmetric, which I am pretty
sure can not be true.
I attach the obtained plot.
Note that I am using KD tree and using 32 cores.
Your help at your earliest convenience is appreciated.
Best,
Renyue

I tried to install yt using the commands:
$ wget http://hg.yt-project.org/yt/raw/stable/doc/install_script.sh
$ bash install_script.sh
It seemed to install fine, but when I tried to run the activate script, I
got the following error:
$ source /Users/mpresley/yt-x86_64/bin/activate
(yt-x86_64)anantes-651-1-49-78:~ mpresley$ yt
usage: yt [-h] [--config CONFIG] [--paste] [--paste-detailed] [--detailed]
[--rpdb] [--parallel]
{help,bootstrap_dev,bugreport,hop,hub_register,hub_submit,instinfo,load,mapserver,pastebin,pastebin_grab,upload_notebook,plot,render,rpdb,notebook,serve,reason,stats,update,upload_image}
...
yt: error: too few arguments
I tried just deleting the files and re-doing the installation, but I
encountered the same error. I am installing on iOS 10.7.5 and have attached
the install log. Thanks for any help.

Hello,
I'm interested in getting some integrated quantities from a cylindrical
2d FLASH simulation.
Just to be sure, I started by comparing the total simulation mass
computed by yt ( with pf.h.all_data().quantities['TotalQuantity'] etc.)
and the one provided in FLASH logs, and the results are rather different
[see attachment]:
* _Values_: difference of up 8% between the two methods
* _Time evolution_: total mass is decreasing in time according to
FLASH (which is ok with open boundary conditions) but it is increasing
with the yt's integration.
* _Sensitivity to resolution_: there are jumps in total density given
by yt for the time steps where the maximum refinement level is manually
decreased.
Would anyone know what might be the reason for this behaviour?
Just in case, I tried to do a second order integration instead of simply
summing the values in all the cells, but if didn't make an error, the
correction was negligible.
I can provide data and the yt script I'm using by PM if some could look
into this.
Thank you,
Regards,
--
Roman Yurchak

Hi, all--
I'm trying to pickle a dataset I made with cut_region. This fails on the
call to __reduce__ since the cut_region doesn't have a _type_name
attribute. Is there an easy way to give _type_names to cut regions in
general, or should I clone the __reduce__ method for
InLineExtractedRegionBase?
I generate the object like this:
>> region = pf.h.region(Center,Left,Right)
>> cut_region = region.cut_region(['grid[some_field] == some_value'})
>> file = open(args)
>> cPickle.dump(cut_region,file)
which gives the following error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/nics/b/home/collins/yt2.0/fPickle.py", line 15, in dump
output = cPickle.dump(object,file,*args,**kwargs)
File
"/nics/b/home/collins/local_2013_03_12/src/yt-dave/yt/data_objects/data_containers.py",
line 407, in __reduce__
[getattr(self, n) for n in self._con_args] +
AttributeError: 'InLineExtractedRegionBase' object has no attribute
'_type_name'
Thanks!
d.

Hi everyone
I'm working with Enzo and I have a black hole particle in my simulation. I
can get the mass of this particle from every output, but I didn't find how
can I get the accretion rate?
Is there a way in YT to do that?

Hi all,
We're proud to release yt version 2.5.3. This is a scheduled point
release that includes all bug fixes identified and fixed since the
release of 2.5.2 on May 1.
Additions, changes and bug fixes include:
* yt can now export to RADMC3D
* Athena frontend now supports Static Mesh Refinement and units (
http://hub.yt-project.org/nb/7l1zua )
* PlotWindows now have a set_font function and a new default font setting
* Colorbars less likely to extend off the edge of a PlotWindow
* Clumps overplotted on PlotWindows are now correctly contoured
* Allsky projections and HEALpix camera now correctly use four channels (RGBA)
* Many fixes to light ray and profiles for integrated cosmological analysis
* Improvements to OpenMP compilation
* Typo in value for km_per_pc (not used elsewhere in the code base)
has been fixed
* Enable parallel IPython notebook sessions (
http://hub.yt-project.org/nb/qgn19h )
* Change (~1e-6) to particle_density deposition, enabling it to be
used by FLASH and other frontends
* Addition of is_root function for convenience in parallel analysis sessions
* Additions to Orion particle reader
* Fix long-standing bug for plotting arrays with range of zero
* Fixing TotalMass for case when particles not present
* Fixing the density threshold or HOP and pHOP to match the merger tree
* Reason can now plot with latest plot window
* Adding option to have interpolation based on non-uniform bins in
interpolator code
* Issues with VelocityMagnitude and aliases with velo have been
corrected in the FLASH frontend
* Halo radii are calculated correctly for domains that do not start at 0,0,0.
* Halo mass function now works for non-Enzo frontends.
* Bug fixes for directory creation, typos in docstrings
If you are using the stable branch of yt from an installation script,
you can upgrade using "yt update" or "yt update --all" to upgrade your
full dependency stack. If you are using the development branch, you
may already have these fixes. A tarball of this release has been
uploaded to the Python Package Index (PyPI).
This release includes a total of over 150 changesets, contributed over
the course of nearly 40 pull requests by over a dozen individuals.
The next scheduled release will be on July 1, and will be version 2.6.
We are hoping to include a unification of the Boxlib frontends,
compatibility with Python 3 (and embedding inside Blender) and other
usual improvements to the yt codebase.
Documentation for this release can be found at:
http://yt-project.org/docs/dev/
Thanks very much,
Matt, on behalf of the yt development team

Hello,
I am trying to install yt with enzo on a computer running Springdale
Linux 6.4 using the shell script install_script.sh. However, I keep
getting the following error -
********************************************
FAILURE REPORT:
********************************************
running install_egg_info
Writing /home/jgodino/Software/enzo/yt-x86_64/lib/python2.7/site-packages/mercurial-2.5.4-py2.7.egg-info
using https://bitbucket.org/yt_analysis/yt-supplemental/
sending capabilities command
abort: Python SSL support not found
using https://bitbucket.org/yt_analysis/yt/
sending capabilities command
abort: Python SSL support not found
abort: repository /home/jgodino/Software/enzo/yt-x86_64/src/yt-hg/ not
found!
/home/jgodino/Software/enzo/yt-x86_64/bin/python2.7: can't open file
'/home/jgodino/Software/enzo/yt-x86_64/src/yt-hg//distribute_setup.py':
[Errno 2] No such file or directory
Any suggestions on how to solve this.
Regards,
Joe

Hi,
I'm new to yt and this list, so I apologize if this question has been
answered before.
I'm trying to render a non-cubical volume (observational data: see an early
attempt at https://vimeo.com/67421373). If I supply a scalar "resolution"
to Camera.__init__, the output is a square, even though the input data is
~2x wider than it is tall. If I supply a tuple of values, I can manually
stretch the image but, as you can tell from the movie, I want to spin
around the volume. I don't think that messing with resolution will help me
in this case, since the projected aspect ratio of the plot changes at each
rotation step.
I did find an old thread similar to this (
http://lists.spacepope.org/pipermail/yt-users-spacepope.org/2012-July/002...),
but the recipe there seem specific to axis-aligned slices, and not generic
rotations.
Is there a natural way to force yt to render pixels with the "right" aspect
ratio?
Thanks,
Chris
--
************************************
Chris Beaumont
Graduate Student
Institute for Astronomy
University of Hawaii at Manoa
2680 Woodlawn Drive
Honolulu, HI 96822
www.ifa.hawaii.edu/~beaumont
************************************