Thanks for all your help over the last couple of days. One more question:
- Can I plot particles on a volume rendered image?
I have stars and I want to show where they are!
Elizabeth Harper-Clark MA MSci
PhD Candidate, Canadian Institute for Theoretical Astrophysics, UofT
Sciences and Engineering Coordinator, Teaching Assistants' Training Program,
Astronomy office phone: +1-416-978-5759
Does anyone out there have a technique for getting the variance out of
a profile object? A profile object is good at getting <X> vs. B, I'd
then like to get < (X - <X>)^2 > vs B. Matt and I had spittballed the
possibility some time ago, but I was wondering if anyone out there had
successfully done it.
Sent from my computer.
Hello yt users,
I have a (perhaps naive) ssh question related to the yt notebook. I would
like to run a yt notebook server on machine A. However, machine A cannot be
directly accessed via ssh from the wider internet. Instead, I must first
ssh into machine B, and then ssh from B to A. Machine B cannot run the
notebook server itself. Does anyone know how I can configure things -
perhaps by using a more complicated ssh tunnel command - so I that access a
notebook server running on machine A through machine B?
I am trying to make my phase plots smaller so they can fit more nicely into
a paper. Alternatively, I would be fine with upping the font size so when
I shrink them you can read the axes. I found advise on how to do this for
slices, but not for phase_objects.
pc = PlotCollection(pf)
tracerp25 = alld.cut_region(["grid['specific_scalar'] > 0.5", "grid['z']
< 0.192","grid['z'] > -0.192","grid['cyl_RCode'] < 1.2"])
Any help is much appreciated!
I downloaded the example script of light cone projectoin(
to my laptop and changed the Enzo simulation parameter file and redshifts.
But when I ran it the following error occurred:
File "light_cone_projection.py", line 19, in <module>
line 158, in __init__
line 44, in __init__
File "/Users/madcpf/Documents/dev_yt/src/yt-hg/yt/convenience.py", line
131, in simulation
line 81, in __init__
line 343, in __init__
line 273, in _parse_parameter_file
param, vals = (i.strip() for i in line.split("="))
ValueError: need more than 1 value to unpack
Does the parameters "near_redshift" and "far_redshift" in LightCone need to
be the same with "CosmologyFinalRedshift" and "CosmologyInitialRedshift" in
enzo parameter file?
Does anyone know how to solve this?
Thank you all!
I’m trying to compute the two point halo correlation function for RAMSES data using the code found at http://yt-project.org/docs/2.6/analyzing/analysis_modules/two_point_functio… (I’ve already run HOP and written to HopAnalysis.out). I get an error saying ‘add_tree’ is not defined, but yt.utilities.kdtree is imported and build properly. Is this feature working in version 3.0?
P.S Sorry if this gets duplicated as I accidentally tried to send this with an unregistered e-mail
I did a simple test with enzo and I tried to plot a radial profile of
the chemical species fractions with YT.
The problem is that if I use the YT function which intrinsically plot
the fraction for a species, let's say H2I_Fraction (as usual), and
compare this with a direct evaluation of the mass fraction:
I obtain some slightly different results, mostly at large radii.
Anyone might explain this discrepancy!? This happens with all the
Thank you in advance
I have a few more PhasePlots questions.
1) I would like to force my axes to be a particular range. I am looking
at several times in my simulation, and the length of the stripped tail
increases, so different PhasePlots end up with different height above the
disk x-axis ranges, which makes comparison more annoying.
2) I would like for the last tick label to be blank--to not print out on
the figure (in the attachment, I would like for '100' to not be there).
3) On a slightly different note, I want the bin size to be bigger. The
PhasePlots look very streaky, see attached.
I will paste my current set of commands for making my PhasePlot. Thanks
for any help!
ax = plot.plots['CellMassMsun'].axes
ax.set_ylabel(r'z-velocity (10$^8$ cm/s)',fontsize=10)
ax.set_xlabel(r'Height above disk (kpc)',fontsize=10)
print r'z-velocity (10$^8$ cm/s)'
for label in ax.xaxis.get_ticklabels():
for label in ax.yaxis.get_ticklabels():
I am trying to install yt with SciPy on Michigan State University's HPCC
system and am running into errors that I cannot resolve by following the
instructions in the install script. I have tried uncommenting each of the
NUMPY_ARGS statements and had no success. I have attached the log file from
my most recent installation attempt as the error message is long. My guess
is that it has to do with the "recompile with -fPIC" message but I cannot
figure out what that means.
Can anybody explain what this error message means and how to resolve it.
We were having some mailing list issues earlier in the day, but I have
been assured they are now fixed. So if you're seeing this, and got a
bounce earlier, the clog seems to have been resolved. Sorry about