Initial setup for period computation #13

Merged
julian merged 11 commits from period-calculations into master 2026-08-17 19:51:33 +02:00
Showing only changes of commit fc228a584f - Show all commits
+4 -1
View File
@@ -1,9 +1,11 @@
import logger
import logging
from sage.all import sage_eval, PolynomialRing, QQ
class PFOperator:
"""
A class representing a Picard-Fuchs operator in a single variable z.
Independent of the given order, the variables are assumed to be left of
the derivatives.
"""
def _operator_from_string(self, operator_string):
z_names = ['z%d' % i for i in range(self.no_variables)]
@@ -21,5 +23,6 @@ class PFOperator:
def __init__(self, operator_string, no_variables=1):
self.no_variables = no_variables
self.operator = self._operator_from_string(operator_string)
logging.debug("Initialized PFOperator: %s", self.operator)