Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
calc_histogram [2012/11/23 23:44]
admin [Notes]
calc_histogram [2015/10/12 00:42] (current)
admin
Line 7: Line 7:
 ===== Inputs ===== ===== Inputs =====
  
-^ Name ^ Type ^ Description ^ +^ Name  ^ Type  ^ Description ​ ^  
-| Map  | [[Map Type|Map]]  | Any map  |+| Map  | [[Map Type]] ​ | Any map  |
  
 ===== Optional Inputs ===== ===== Optional Inputs =====
  
-^ Name ^ Type ^ Description ^ Default Value ^ +^ Name  ^ Type  ^ Description ​ ^ Default Value  
-| Interval Width  | [[Double ​Type|Double]] | The width of the histogram interval. ​ | 1.0  | +| Interval Width  | [[Real Value Type]] ​ | The width of the histogram interval. ​ | 1.0  | 
-| Cumulative ​ | [[Bool Type|Bool]]  | If true, the calculated histogram is cumulative. ​ | False  | +| Cumulative ​ | [[Boolean Value Type]] ​ | If true, the calculated histogram is cumulative. ​ | False  | 
-| Relative ​ | [[Bool Type|Bool]]  | If true, the values in the histogram are normalized by the total number of occurrences. | False  |+| Relative ​ | [[Boolean Value Type]] ​ | If true, the values in the histogram are normalized by the total number of occurrences. ​ | False  |
  
 ===== Outputs ===== ===== Outputs =====
  
-^ Name ^ Type ^ Description ^+^ Name  ^ Type  ^ Description ​ ^
 | Histogram ​ | [[Lookup Table Type|Lookup Table]] ​ | The calculated histogram. ​ | | Histogram ​ | [[Lookup Table Type|Lookup Table]] ​ | The calculated histogram. ​ |
  
Line 30: Line 30:
 <​m>​value2 =delim{|}{value/​width}{|}*width</​m>,​ where //value2// is the resulting value, //value// is the value present in the input map and //width// is the "​Interval Width"​. <​m>​value2 =delim{|}{value/​width}{|}*width</​m>,​ where //value2// is the resulting value, //value// is the value present in the input map and //width// is the "​Interval Width"​.
  
-Because of the remapping, the lower and upper limits ​of the resulting histogram can be lower and greater, respectively, ​than the lower and upper limits ​of the input map.   ​+Because of the remapping, the lower limit of the resulting histogram can be lower than the minimum value in the input map. The upper limit of the histogram can be greater than the maximum value in the input map.
  
 ===== Group ===== ===== Group =====