Github repository to acompany the paper Frobenius distributions of low dimensional abelian varieties over finite fields, written by Santiago Arango-Piñeros, Deewang Bhamidipati, and Soumya Sankar. This code is made available so that the reader can replicate our histograms. You will need SageMath installed in your computer.
To generate some histograms you can follow these steps.
- Clone this repository.
- Open the terminal and go to the directory that you just cloned.
- Fire up SageMath.
- Type:
load('sage generate_histograms.sage')
- Type:
histogram_from_label(label)
, wherelabel
(a string) is the LMFDB label of the isogeny class you want.- This will generate a .pdf histogram with
$16^5$ data points, following the conventions of the paper (see the paragraph before Figure 1). This should take aproximately 30 seconds for an isogeny class of dimension < 4. - Alternatively, you can type
histogram_from_label(label, n=6, extension='.png')
if you want$16^6$ data points in .png format. This should take about 10 minutes for an isogeny class of dimension < 4.
- This will generate a .pdf histogram with
- To generate all the histograms from the paper, type:
paper_histograms(paper_labels, exponents=[4,5])
.