numeric_focus
  • 27 Jul 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

numeric_focus

  • Dark
    Light
  • PDF

Article summary

numeric_focus

usage: common - datatype: object


The numeric_focus for a Tag.script is the distribution of the numeric_focus attribute over the set of entities defined by the background attribute. The numeric_focus attribute is mandatory when the analysis method is "numeric-comparison". There is no default value for the numeric_focus attribute, therefore an error will be thrown if it is undefined for a "numeric-comparison" analysis. The simple form of the numeric_focus attribute is a single numeric variable object.

"numeric_focus": {
  "variable_type": "numeric", //A numeric variable object
  "collection": "cccc", //"cccc" is a valid numeric collection name in tag.cortex
  "variable": "vvvv" //"vvvv" is a valid variable name in collection "cccc"
}



Alternatively, the numeric_focus attribute can be any numeric variable object that compiles to a single numeric variable, such as "numeric-compound".

"numeric_focus": {
  "variable_type": "numeric-compound", //A numeric variable object
  "operator": "oooo", //A numeric operator, such as "*" 
  "criteria": [
    {...}, //One or more numeric variable objects
    ...
  ]
}

Was this article helpful?