My computational number theory code

Numerical computation of Petersson inner products

Here is some Sage code that goes along with my preprint Numerical computation of Petersson inner products and q-expansions.

Note: in these programs I haven't yet implemented anything to automatically identify local supercuspidal components (and the corresponding L-factors and Ichino integrals) for a modular form; for now those cases need to be handled manually.