Adding AutoAnalyser launcher in python

This commit is contained in:
Joseph Lizier 2023-08-11 18:03:28 +10:00
parent f55737c650
commit f643632df4
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
from jpype import *
# Add JIDT jar library to the path
jarLocation = "../../infodynamics.jar"
# Start the JVM (add the "-Xmx" option with say 1024M if you get crashes due to not enough memory space)
startJVM(getDefaultJVMPath(), "-ea", "-Djava.class.path=" + jarLocation)
# Construct an AutoAnalyser
calcClass = JPackage("infodynamics.demos.autoanalysis").AutoAnalyserLauncher
calc = calcClass(False)