Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Creation of the object

    Code Block
    languagepy
    actor_object = <actor name>()
    e.g.
    actor_object = physics_ii()


  • Setting up the runtime settings
    • Tuning up the actor before its initialization and native code execution

    • See chapter above
  • Actor initialisation:
    • Calling initialize() method of the actor to perform internal initialisation actions

      Code Block
      actor_object.initialize()


  • Native code call:
    • This step can be repeated an arbitrary number of times

    • Code Block
        <output IDS or list of IDSes> = actor_object(<input IDS/IDSes>)  
      e.g.
        output_distribution_sources = actor_object(input_core_profiles)         


  • Actor finalisation
    • Calling finalize() method of the actor to perform internal finalisation actions

      Code Block
      actor_object.finalize()


The simplest workflow

A skeleton of the very simple workflow could be implemented like thisExample:

Code Block
languagepy
# Import of the actor class
from <actor name>.actor import <actor name> 

# Creation of actor object
actor_object = <actor name>()

# Setting up runtime properties (if necessary)

# Actor initialisation
actor_object.initialize()

# Native code run  
output_distribution_sources   
<output IDS or list of IDSes>  = actor_object(input_core_profiles<input IDS/IDSes>)  

# Actor finalisation
actor_object.finalize()


 Workflow example

...