Create point-based data from AMR-based data by point sampling. Samples all available fields of the amr_source at the coordinates of the points.
Parameters : | amr_source : RamsesAmrSource
points : (npoints, ndim) array
add_level : boolean (default False)
add_cell_center : boolean (default False)
interpolation : boolean (default False)
use_C_code : boolean (default True)
use_openCL : boolean (default False)
verbose : boolean (default False)
|
---|---|
Returns : | dset : PointDataset
|
Cylindrical binning function for profile computing
Parameters : | center : array
axis_vect : array
profile_func : function
bin_bounds : array
divide_by_counts : boolean (default False)
|
---|---|
Returns : | profile : array
|
Spherical binning function for profile computing
Parameters : | center : array
profile_func : function
bin_bounds : array
divide_by_counts : boolean (default False)
|
---|---|
Returns : | profile : array
|
Return the average point coordinates of a PointDataSource assuming an optional weight function
Parameters : | source : PointDataSource
weight_func : function, optional
returned : boolean, optional (default False)
|
---|---|
Returns : | av_pos : array
sow : float
|
amr2cube tool.