[yt-users] 1D matter power spectrum

gso at physics.ucsd.edu gso at physics.ucsd.edu
Mon Mar 7 15:01:55 PST 2011


For each of the random point generated, I want to limit their position to
be on either the x, y or z direction instead of on a sphere, so I can
compare them with the 1D power spectrum.

For example if I want to compare with the 1D powerspectrum along x, I want
phi = 0, theta= pi/2
if I want to compare to z, then
phi = *, theta = pi/2

is this ability already in YT or can it be added easily?

From
G.S.

> Geoffrey,
>
>> is there a way to limit the random total_values of pts generated for say
>> (r, theta, phi) in the physics convention?
>>
>> x = (phi = 0, theta = pi/2)
>> y = (phi = pi/2, theta = pi/2)
>> z = (phi = *, theta = 0)
>
>
> I am sorry, but I don't understand what you mean. "total_values" is just
> the absolute number of point pairs generated. Are you referring to the
> range of x,y,z values generated for points? If so, I still don't
> understand what you mean with phis and thetas.
>
> In summary, random points are created as follows. For a given length r
> (separation between the two points):
>
> 1. Create a random point inside the volume (or subvolume if running in
> parallel).
> 2. Make a random angle (theta, phi), go out r in that direction to find
> the second point.
>
> What is it you want to do?
>
>
> Stephen Skory
> stephenskory at yahoo.com
> http://stephenskory.com/
> 510.621.3687 (google voice)
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>





More information about the yt-users mailing list