F(x) ADAFs to Tables

../../../../../_images/function_selector.svg

Please see F(x) Table for the basics on f(x) nodes.

The main base class for adaf f(x) nodes is called ADAFWrapper. It gives access to the variables self.in_adaf and self.out_adaf which are of the type adaf.File so you will need to use the ADAF API.

class node_adaf_function_selector.FunctionSelectorADAFsToTables[source]

Apply functions to a list of ADAFs outputting a list of Tables.

With this node you should use one of the base classes ADAFToTableWrapper or ADAFsToTablesWrapper. ADAFToTableWrapper gives access to the input adafs one at a time as self.in_adaf and the output tables one at a time as self.out_table. ADAFsToTablesWrapper gives access to the input adafs all at once as self.in_adaf_list and the output tables all at once as self.out_table_list.

See F(x) Table for a brief discussion of when to use the “plural” base classes.

Inputs:
port1
: Datasource

Path to Python file with scripted functions.

port2
: ADAFs

ADAFs with data to apply functions to.

Outputs:
port3
: Tables

Tables with the results from the applied functions.

Configuration:
Clean output

If disabled the incoming data will be copied to the output before running the nodes.

Put results in common outputs
: checkbox

Use this checkbox if you want to gather all the results generated from an incoming Table into a common output. This requires that the results will all have the same length. An exception will be raised if the lengths of the outgoing results differ. It is used only when clean output is active. Otherwise it will be disabled and can be considered as checked.

Select functions

Choose one or many of the listed functions to run.

Enable pass-through

If disabled only selected functions are run. Enable this to override the functions selection and run all functions in the python file.

Ref. nodes:

F(x) ADAFs