astropop.pipelines.Product
- class astropop.pipelines.Product(manager=None, instrument=None, targets=[], **kwargs)
Store all informations and data of a product.
Methods Summary
|
Add a destruction callback. |
|
Add information dictionaries to the product. |
|
Add a stage to the target list. |
|
Remove a stage from the target list. |
Execute the destruction callbacks sequentially. |
|
|
Get a variable value. |
|
Set a value to a variable. |
- Product.add_destruct_callback(callback, *args, **kwargs)
Add a destruction callback.
- Product.add_info(session, info_dict)
Add information dictionaries to the product.
- Product.add_target(name)
Add a stage to the target list.
- Product.del_target(name)
Remove a stage from the target list.
- Product.destruct()
Execute the destruction callbacks sequentially.
- Product.get_value(name)
Get a variable value.
- Product.set_value(name, value)
Set a value to a variable.