LTPDA Toolbox™ | contents | ![]() ![]() |
BIN_DATA rebins aos data, on logarithmic scale, linear scale, or arbitrarly chosen. The rebinning is done taking the mean of the bins included in the range %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: BIN_DATA rebins aos data, on logarithmic scale, linear scale, or arbitrarly chosen. The rebinning is done taking the mean of the bins included in the range CALL: bs = bin_data(a1,a2,a3,...,pl) bs = bin_data(as,pl) bs = as.bin_data(pl) INPUTS: aN - input analysis objects as - input analysis objects array pl - input parameter list OUTPUTS: bs - array of analysis objects, one for each input Parameters Description The code is inherited from D Nicolodi, UniTN %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details | |
---|---|
Access | public |
Defining Class | ao |
Sealed | 0 |
Static | 0 |
Sets for this method … |
---|
Default |
Default |
|||
---|---|---|---|
no description | |||
Key | Default Value | Options | Description |
bin_data | |||
METHOD | 'MEAN' |
|
method for binning. Choose from:
|
XSCALE | 'LOG' |
|
scaling of binning. Choose from:
|
RESOLUTION | 10 | none | When setting logaritmic x scale, it sets the number of points per decade. When setting linear x scale, it sets the number of points. |
XVALS | [] | none | List of x values to evaluate the binning between. It may be a vector or an ao, in which case it will take the x field |
WEIGHTS | [] | none | List of weights for the case of weighted mean. If empty, weights will be taken from object(s) dy field as w = 1/dy^2 |
RANGE | [] | none | Range of x where to operate. If empty, the whole data set will be used |
INHERIT_DY | 1 |
|
Choose what to do in the case of mean, and bins with only one point. Choose from:
|
Example |
---|
plist('METHOD', 'MEAN', 'XSCALE', 'LOG', 'RESOLUTION', [10], 'XVALS', [[]], 'WEIGHTS', [[]], 'RANGE', [[]], 'INHERIT_DY', [true]) |
Some information of the method ao/bin_data are listed below: | |
---|---|
Class name | ao |
Method name | bin_data |
Category | Signal Processing |
Package name | ltpda |
VCS Version | 967b0eec0dece803a81af8ef54ad2f8c784b20b2 |
Min input args | 1 |
Max input args | -1 |
Min output args | 1 |
Max output args | -1 |
Can be used as modifier | 1 |
Supported numeric types | {'double'} |
![]() |
Method: ao/bicohere | Method: ao/buildWhitener1D | ![]() |
©LTP Team