- #1
jimbo_durham
- 13
- 0
Hi. I have a load of data objcts, each with velocity components in the cartesian x,y,z directions. I would like to find a measure of the distribution of velocity (assuming it is averaged in all directions - a good assumption). Ie i would like to end up with some 2d plot with velocity along the 'x' axis, and number density, propability amplitude etc up the 'y' axis.
I have plotted the velocity data in 3d to show the distribution in x,y,z. it is attached. It appears that the velocity falls off in probability as 1/r^2 or similar. ie there are lots of objects with velocitys in the low 10s of kms-1, and fewer objects in the high 100s kms-1. I have the raw data and need find the form of the function.
Basically, from the plot in the figure, i need the density of dots(representing velocity componants) as a function of radius. How can i do this from the raw data? i think this might be a binning problem, where the bins are shells with equal volume in velocity space, and the number of 'dots' which fall into the shell gives the form of the function i am after.
any better ideas?
thanks in advance
jimbo
I have plotted the velocity data in 3d to show the distribution in x,y,z. it is attached. It appears that the velocity falls off in probability as 1/r^2 or similar. ie there are lots of objects with velocitys in the low 10s of kms-1, and fewer objects in the high 100s kms-1. I have the raw data and need find the form of the function.
Basically, from the plot in the figure, i need the density of dots(representing velocity componants) as a function of radius. How can i do this from the raw data? i think this might be a binning problem, where the bins are shells with equal volume in velocity space, and the number of 'dots' which fall into the shell gives the form of the function i am after.
any better ideas?
thanks in advance
jimbo