Class: FunctionCall

Invocation of a function in a pipeline. Can reference a defined Function by name, OR inline a callable directly for external library functions, OR inline an equation, OR use class_call for class instantiation. Mirrors Function attributes so pipeline steps can be self-contained.

URI: tvbo:class/FunctionCall

 classDiagram
    class FunctionCall
    click FunctionCall href "./FunctionCall.html"
      FunctionCall : acronym
        
          
    
        
        
        FunctionCall --> "0..1" String : acronym
        click String href "../http://www.w3.org/2001/XMLSchema#string.html"
    

        
      FunctionCall : aggregate
        
          
    
        
        
        FunctionCall --> "0..1" Aggregation : aggregate
        click Aggregation href "./Aggregation.html"
    

        
      FunctionCall : apply_on_dimension
        
          
    
        
        
        FunctionCall --> "0..1" DimensionType : apply_on_dimension
        click DimensionType href "../../enums/DimensionType.html"
    

        
      FunctionCall : arguments
        
          
    
        
        
        FunctionCall --> "*" Argument : arguments
        click Argument href "./Argument.html"
    

        
      FunctionCall : callable
        
          
    
        
        
        FunctionCall --> "0..1" Callable : callable
        click Callable href "./Callable.html"
    

        
      FunctionCall : class_call
        
          
    
        
        
        FunctionCall --> "0..1" ClassReference : class_call
        click ClassReference href "./ClassReference.html"
    

        
      FunctionCall : description
        
          
    
        
        
        FunctionCall --> "0..1" String : description
        click String href "../http://www.w3.org/2001/XMLSchema#string.html"
    

        
      FunctionCall : equation
        
          
    
        
        
        FunctionCall --> "0..1" Equation : equation
        click Equation href "./Equation.html"
    

        
      FunctionCall : function
        
          
    
        
        
        FunctionCall --> "0..1" Function : function
        click Function href "./Function.html"
    

        
      FunctionCall : input
        
          
    
        
        
        FunctionCall --> "0..1" String : input
        click String href "../http://www.w3.org/2001/XMLSchema#string.html"
    

        
      FunctionCall : label
        
          
    
        
        
        FunctionCall --> "0..1" String : label
        click String href "../http://www.w3.org/2001/XMLSchema#string.html"
    

        
      FunctionCall : name
        
          
    
        
        
        FunctionCall --> "0..1" String : name
        click String href "../http://www.w3.org/2001/XMLSchema#string.html"
    

        
      FunctionCall : output
        
          
    
        
        
        FunctionCall --> "0..1" String : output
        click String href "../http://www.w3.org/2001/XMLSchema#string.html"
    

        
      FunctionCall : source_code
        
          
    
        
        
        FunctionCall --> "0..1" String : source_code
        click String href "../http://www.w3.org/2001/XMLSchema#string.html"
    

        
      FunctionCall : time_range
        
          
    
        
        
        FunctionCall --> "0..1" Range : time_range
        click Range href "./Range.html"
    

        
      

Slots

Name Cardinality and Range Description Inheritance
acronym 0..1
xsd:string
direct
label 0..1
xsd:string
direct
equation 0..1
Equation
direct
description 0..1
xsd:string
direct
name 0..1
xsd:string
Optional name for this pipeline step direct
function 0..1
Function
Reference to a defined Function (by name) direct
callable 0..1
Callable
Direct callable specification (alternative to function reference) direct
class_call 0..1
ClassReference
Class instantiation and call (alternative to callable/function) direct
input 0..1
xsd:string
Reference to previous function’s output in pipeline (by name) direct
output 0..1
xsd:string
Name for this step’s output (referenced by subsequent functions) direct
apply_on_dimension 0..1
DimensionType
Dimension to apply function over (generates vmap in code) direct
aggregate 0..1
Aggregation
How to aggregate the result across dimensions direct
arguments *
Argument
direct
time_range 0..1
Range
Time range for generated TimeSeries (for kernel generators) direct
source_code 0..1
xsd:string
direct

Usages

used by used in type used
Observation pipeline range FunctionCall
DerivedObservation pipeline range FunctionCall
Optimization loss range FunctionCall
Exploration observable range FunctionCall
Algorithm functions range FunctionCall

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/tvbo

Mappings

Mapping Type Mapped Value
self tvbo:FunctionCall
native tvbo:FunctionCall

LinkML Source

Direct

name: FunctionCall
description: Invocation of a function in a pipeline. Can reference a defined Function
  by name, OR inline a callable directly for external library functions, OR inline
  an equation, OR use class_call for class instantiation. Mirrors Function attributes
  so pipeline steps can be self-contained.
from_schema: https://w3id.org/tvbo
slots:
- acronym
- label
- equation
- description
attributes:
  name:
    name: name
    description: Optional name for this pipeline step
    from_schema: https://w3id.org/tvbo
    domain_of:
    - BrainAtlas
    - CommonCoordinateSpace
    - ParcellationEntity
    - DBSProtocol
    - ClinicalScale
    - ClinicalScore
    - Event
    - Tractogram
    - GraphGenerator
    - File
    - StateValue
    - Observation
    - Dynamics
    - StateVariable
    - Distribution
    - Parameter
    - CouplingInput
    - Argument
    - Function
    - FunctionCall
    - Callable
    - DerivedParameter
    - DerivedVariable
    - DataSource
    - OptimizationStage
    - Exploration
    - UpdateRule
    - Algorithm
    - Option
    - BranchSwitch
    - Continuation
    - Coupling
    - SoftwareEnvironment
    - SoftwareRequirement
    - SoftwarePackage
    range: string
  function:
    name: function
    description: Reference to a defined Function (by name)
    from_schema: https://w3id.org/tvbo
    domain_of:
    - Distribution
    - FunctionCall
    - Noise
    range: Function
    inlined: false
  callable:
    name: callable
    description: Direct callable specification (alternative to function reference)
    from_schema: https://w3id.org/tvbo
    domain_of:
    - Function
    - FunctionCall
    range: Callable
    inlined: true
  class_call:
    name: class_call
    description: 'Class instantiation and call (alternative to callable/function).
      Use for external library classes that need __init__ then __call__. Example:
      Bold monitor from tvboptim.'
    from_schema: https://w3id.org/tvbo
    rank: 1000
    domain_of:
    - FunctionCall
    range: ClassReference
    inlined: true
  input:
    name: input
    description: Reference to previous function's output in pipeline (by name)
    from_schema: https://w3id.org/tvbo
    domain_of:
    - Function
    - FunctionCall
    range: string
  output:
    name: output
    description: Name for this step's output (referenced by subsequent functions)
    from_schema: https://w3id.org/tvbo
    domain_of:
    - Dynamics
    - Function
    - FunctionCall
    range: string
  apply_on_dimension:
    name: apply_on_dimension
    description: Dimension to apply function over (generates vmap in code). E.g.,
      'node' applies per-node.
    from_schema: https://w3id.org/tvbo
    domain_of:
    - Function
    - FunctionCall
    range: DimensionType
  aggregate:
    name: aggregate
    description: 'How to aggregate the result across dimensions. Example: aggregate.over=node,
      aggregate.type=mean applies function per node, then averages. Used in loss functions.'
    from_schema: https://w3id.org/tvbo
    domain_of:
    - Function
    - LossFunction
    - FunctionCall
    range: Aggregation
    inlined: true
  arguments:
    name: arguments
    from_schema: https://w3id.org/tvbo
    domain_of:
    - Function
    - FunctionCall
    - AlgorithmInclude
    range: Argument
    multivalued: true
    inlined: true
    inlined_as_list: true
  time_range:
    name: time_range
    description: Time range for generated TimeSeries (for kernel generators)
    from_schema: https://w3id.org/tvbo
    domain_of:
    - Function
    - FunctionCall
    range: Range
    inlined: true
  source_code:
    name: source_code
    from_schema: https://w3id.org/tvbo
    domain_of:
    - Function
    - FunctionCall
    range: string

Induced

name: FunctionCall
description: Invocation of a function in a pipeline. Can reference a defined Function
  by name, OR inline a callable directly for external library functions, OR inline
  an equation, OR use class_call for class instantiation. Mirrors Function attributes
  so pipeline steps can be self-contained.
from_schema: https://w3id.org/tvbo
attributes:
  name:
    name: name
    description: Optional name for this pipeline step
    from_schema: https://w3id.org/tvbo
    alias: name
    owner: FunctionCall
    domain_of:
    - BrainAtlas
    - CommonCoordinateSpace
    - ParcellationEntity
    - DBSProtocol
    - ClinicalScale
    - ClinicalScore
    - Event
    - Tractogram
    - GraphGenerator
    - File
    - StateValue
    - Observation
    - Dynamics
    - StateVariable
    - Distribution
    - Parameter
    - CouplingInput
    - Argument
    - Function
    - FunctionCall
    - Callable
    - DerivedParameter
    - DerivedVariable
    - DataSource
    - OptimizationStage
    - Exploration
    - UpdateRule
    - Algorithm
    - Option
    - BranchSwitch
    - Continuation
    - Coupling
    - SoftwareEnvironment
    - SoftwareRequirement
    - SoftwarePackage
    range: string
  function:
    name: function
    description: Reference to a defined Function (by name)
    from_schema: https://w3id.org/tvbo
    alias: function
    owner: FunctionCall
    domain_of:
    - Distribution
    - FunctionCall
    - Noise
    range: Function
    inlined: false
  callable:
    name: callable
    description: Direct callable specification (alternative to function reference)
    from_schema: https://w3id.org/tvbo
    alias: callable
    owner: FunctionCall
    domain_of:
    - Function
    - FunctionCall
    range: Callable
    inlined: true
  class_call:
    name: class_call
    description: 'Class instantiation and call (alternative to callable/function).
      Use for external library classes that need __init__ then __call__. Example:
      Bold monitor from tvboptim.'
    from_schema: https://w3id.org/tvbo
    rank: 1000
    alias: class_call
    owner: FunctionCall
    domain_of:
    - FunctionCall
    range: ClassReference
    inlined: true
  input:
    name: input
    description: Reference to previous function's output in pipeline (by name)
    from_schema: https://w3id.org/tvbo
    alias: input
    owner: FunctionCall
    domain_of:
    - Function
    - FunctionCall
    range: string
  output:
    name: output
    description: Name for this step's output (referenced by subsequent functions)
    from_schema: https://w3id.org/tvbo
    alias: output
    owner: FunctionCall
    domain_of:
    - Dynamics
    - Function
    - FunctionCall
    range: string
  apply_on_dimension:
    name: apply_on_dimension
    description: Dimension to apply function over (generates vmap in code). E.g.,
      'node' applies per-node.
    from_schema: https://w3id.org/tvbo
    alias: apply_on_dimension
    owner: FunctionCall
    domain_of:
    - Function
    - FunctionCall
    range: DimensionType
  aggregate:
    name: aggregate
    description: 'How to aggregate the result across dimensions. Example: aggregate.over=node,
      aggregate.type=mean applies function per node, then averages. Used in loss functions.'
    from_schema: https://w3id.org/tvbo
    alias: aggregate
    owner: FunctionCall
    domain_of:
    - Function
    - LossFunction
    - FunctionCall
    range: Aggregation
    inlined: true
  arguments:
    name: arguments
    from_schema: https://w3id.org/tvbo
    alias: arguments
    owner: FunctionCall
    domain_of:
    - Function
    - FunctionCall
    - AlgorithmInclude
    range: Argument
    multivalued: true
    inlined: true
    inlined_as_list: true
  time_range:
    name: time_range
    description: Time range for generated TimeSeries (for kernel generators)
    from_schema: https://w3id.org/tvbo
    alias: time_range
    owner: FunctionCall
    domain_of:
    - Function
    - FunctionCall
    range: Range
    inlined: true
  source_code:
    name: source_code
    from_schema: https://w3id.org/tvbo
    alias: source_code
    owner: FunctionCall
    domain_of:
    - Function
    - FunctionCall
    range: string
  acronym:
    name: acronym
    from_schema: https://w3id.org/tvbo
    rank: 1000
    alias: acronym
    owner: FunctionCall
    domain_of:
    - ClinicalScale
    - ClinicalScore
    - Observation
    - Function
    - FunctionCall
    range: string
  label:
    name: label
    from_schema: https://w3id.org/tvbo
    rank: 1000
    alias: label
    owner: FunctionCall
    domain_of:
    - ParcellationTerminology
    - Dataset
    - Contact
    - Equation
    - Stimulus
    - Event
    - Parcellation
    - Tractogram
    - Matrix
    - Network
    - Node
    - Edge
    - Observation
    - Dynamics
    - StateVariable
    - Parameter
    - Function
    - FunctionCall
    - DerivedVariable
    - RandomStream
    - DataSource
    - OptimizationStage
    - Exploration
    - TuningObjective
    - Continuation
    - Coupling
    - RegionMapping
    - SimulationExperiment
    - SimulationStudy
    - TimeSeries
    - SoftwareEnvironment
    - NDArray
    - SpatialDomain
    - Mesh
    - SpatialField
    - FieldStateVariable
    - DifferentialOperator
    - BoundaryCondition
    - PDESolver
    - PDE
    range: string
  equation:
    name: equation
    from_schema: https://w3id.org/tvbo
    rank: 1000
    slot_uri: tvbo:Equation
    alias: equation
    owner: FunctionCall
    domain_of:
    - Stimulus
    - Event
    - Observation
    - StateVariable
    - Parameter
    - Function
    - FunctionCall
    - Case
    - DerivedParameter
    - DerivedVariable
    - Noise
    - UpdateRule
    - DifferentialOperator
    range: Equation
    inlined: true
  description:
    name: description
    from_schema: https://w3id.org/tvbo
    rank: 1000
    alias: description
    owner: FunctionCall
    domain_of:
    - ClinicalScore
    - Equation
    - Stimulus
    - Event
    - Tractogram
    - Matrix
    - Network
    - GraphGenerator
    - File
    - Node
    - Edge
    - Observation
    - Dynamics
    - StateVariable
    - Parameter
    - CouplingInput
    - Argument
    - Function
    - FunctionCall
    - Callable
    - DerivedParameter
    - DerivedVariable
    - RandomStream
    - DataSource
    - OptimizationStage
    - Exploration
    - UpdateRule
    - TuningObjective
    - Algorithm
    - BranchSwitch
    - Continuation
    - Integrator
    - Coupling
    - RegionMapping
    - SimulationExperiment
    - SimulationStudy
    - TimeSeries
    - SoftwareEnvironment
    - SoftwareRequirement
    - SoftwarePackage
    - NDArray
    - SpatialDomain
    - Mesh
    - SpatialField
    - FieldStateVariable
    - BoundaryCondition
    - PDESolver
    - PDE
    range: string