| 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 |
| 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:
|
back to top
| 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 | 175910878ca914560542d679d9d392de37438d84 |
| Min input args | 1 |
| Max input args | -1 |
| Min output args | 1 |
| Max output args | -1 |
|
Method: ao/bicohere | Method: ao/buildWhitener1D | ![]() |
©LTP Team