tarang-cli.tarang_utility#
Classes#
Module Contents#
- class tarang-cli.tarang_utility.TarangUtility#
- static get_executable_path(argv_0)#
- static get_application_path(sys)#
- static print_parameters(para)#
Print the simulation parameters for user reference.
- Parameters:
para (module) – The parameter module containing simulation settings.
os (module) – The operating system module for system-specific operations.
- Return type:
None
- static create_output_folders(para)#
- static create_process_file(tarang_folder, pid)#
- static delete_process_file(tarang_folder, pid)#
- static copy_para_files(shutil, tarang_folder, para, para_folder)#
- static print_parameters_if_neccessary(para)#
- static initialize_ncp(para)#
- static initialize_ncp_par(para)#
- static clear_para(tarang_folder)#
- static run_live_plot(platform, subprocess, tarang_folder)#
Launch the live plotting process for visualizing simulation data in real-time.
- Parameters:
os (module) – The operating system module for system-specific operations.
platform (module) – The platform module to detect the operating system.
subprocess (module) – The subprocess module to spawn new processes.
tarang_folder (str) – Path to the TARANG folder.
- Return type:
None