Code generation

How to access the feature?

import sanatio.code_generation as gc

Code_generation file has all the functions that you will need to generate a new cell in the jupyter notebook with the function definition or print the function definition you need.

Know the list of functions available

Sanatio has a function that will print the list of functions definitions that will be available in Sanatio. The required function can be called from the list.

import sanatio.code_generation as gc

gc.show_function_list()

Generate a new cell with function definition

import sanatio.code_generation as gc

gc.generate_numericals_summary()
import sanatio.code_generation as gc

gc.generate_numericals_summary(print_function=True)

Last updated