Skip to content

Commit

Permalink
renaming debug_periods
Browse files Browse the repository at this point in the history
  • Loading branch information
fchapoton committed Jan 3, 2025
1 parent 9b1e020 commit fe20c63
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions debug_periods.sage → debug_periods.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
from darmonpoints.schottky import *
from darmonpoints.schottky import SchottkyGroup, Divisors, act

from sage.all import load

gens = load('gens.sobj')
K = gens[0].parent().base_ring()
# gens = [o.apply_map(lambda x : x.add_bigoh(20)) for o in gens]
W = SchottkyGroup(K,gens)
W = SchottkyGroup(K, gens)
# W.balls()

W.period_matrix(20)

g1, g2 = gens
a = W.a_point()
Div = Divisors(a.parent())
Dg1 = Div([(1,a),(-1,act(g1,a))])
Dg2 = Div([(1,a),(-1,act(g2,a))])
Dg1 = Div([(1, a), (-1, act(g1, a))])
Dg2 = Div([(1, a), (-1, act(g2, a))])
Dg1 = W.find_equivalent_divisor(Dg1)
Dg2 = W.find_equivalent_divisor(Dg2)
T = W.theta(20, Dg1)
Expand Down

0 comments on commit fe20c63

Please sign in to comment.