the libdisk module¶
- pNbody.libdisk.Diff(f, x, s=None, k=2)¶
First derivative of f(x)
- pNbody.libdisk.get_1d_Sigma_From_Rho_Phi(rho, phi, r, dr, beta)¶
the function return the radial velocity dispersion even if beta is non zero
- pNbody.libdisk.get_Integral(v, dr, ia, ib)¶
Integrate the vector v, between ia and ib, using trapezes.
v : values of cells (must be 1 dimensional) dr : corresponding physical size of cells ia : lower real indice WARNING : the indicies must now be integer !!! ib : higher real indice WARNING : the indicies must now be integer !!!