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
Dear yt users,
I have a common envelope simulation where two stars orbit each other. The
cores of the stars are approximated by point-masses.
I would like to move my coordinate system on the core of one of them with
the x axis aligned with the semi-major axis of the orbit, so as to be able
to analyse the data in a co-rotating coordinate system.
Is there any pre-built function in yt that allows moving the coordinates
system to a specific point of the box and rotate them? Or I have to do it
is there any option when performing a density plot with
OffAxisProjectionPlot to specify whether the axes in the resulting image
are labelled "x/y (pc)" or "image x/y (pc)"? I would like to output
images with the latter formatting enabled.
To my understanding periodicity can be set to True for strictly pure periodic conditions. My question is if anyone has found any easy work around within yt for dealing with shearing periodic boundary conditions? I have data sets from a simulation that used the shearing box approximation and would like my yt data objects to be “aware” of shearing periodic conditions in the x direction and strictly periodic in the y direction.
Has anyone find a good solution for this situation?
I am using yt slices and projections with scale annotation. I have my plots in comoving units ("Mpccm/h") but whenever I want to use the same units for annotation:
slc.annotate_scale(corner='lower_right', coeff=10, units='Mpccm/h'),
yt does not recognize these units. Am I missing something or only the physical scale annotation is possible ?