Hi guys,
I've added a new preferred entry point for yt. Instead of importing
all the cruftily named submodules, almost everything you can think of
is taken care of with:
from yt.mods import *
That will get you:
numpy -> na
yt.lagos -> lagos
yt.raven -> raven
plus all the static outputs, clumps, fields, the profiles, plot
collections, callbacks, 3d stuff and even the fido entry points.
For more info:
http://yt.enzotools.org/browser/trunk/yt/mods.py
Also, if you want to write a …
[View More]script that accepts a parameter file as
an argument, now the preferred way of doing that is:
>>
from yt.mods import *
pf = get_pf()
[do stuff]
<<
get_pf takes the last command line argument and turns it into an
EnzoStaticOutput. So now, your scripts can be commandline standalones
with just two lines of boilerplate code.
-Matt
[View Less]
Hi there,
I've uploaded a build from the current (r576) version of the yt
source. Outside of documentation, this stands a good chance of being
branched, tagged and considered 'released.' The GUI now includes
support for importing directories containing subdirectories of data,
which are then accessible on subsequent runs as well as from the
command line. (This is the component known as 'fido' which has
languished but is now being brought back.) Additionally, since the
last build, a couple …
[View More]bugs were fixed.
Please let me know if you have a chance to try it and you find any bugs:
http://yt.enzotools.org/files/yt-0.3-dev.dmg.gz
-Matt
[View Less]
Hi there,
Thanks to a pointer from Rick Wagner, I've taken a bit of time to put
some simple volume rendering into yt. This is all based on the S2PLOT
library (http://astronomy.swin.edu.au/s2plot/index.php?title=S2PLOT).
Right now there are convenience functions for putting phase plots and
standard unigrid data into a window, interacting, adding isosurfaces
and adding particles.
If you want to play with this, I've added two recipes to the Trac wiki:
http://yt.enzotools.org/wiki/Recipes/…
[View More]SimpleVolumeRenderinghttp://yt.enzotools.org/wiki/Recipes/BinnedProfile3D
Data-serialization of 3D profiles has been added, but as of right now
the convenience functions for adding new 3D plots of serialized data
are not there. The goal would be to generate a profile object on a
different machine than the one it is plotted on; I will have recipes
for doing that at some point in the near future. (As my research
demands -- and boy does it demand it lately! :)
One of the coolest things about this is that you can feed in a
parameter to the S2PLOT command to get a huge, stereo window for
display on a wall.
-Matt
P.S. The installation method for S2PLOT is slightly peculiar, but
ultimately it worked for me... I haven't tried it on anything other
than OSX, however.
[View Less]