// Magma code for the lmfdb family of higher genus curves 7.27-2.0.3-9-9.30
// The results are stored in a list of records called 'data'
RecFormat:=recformat;
data:=[];
// Create group as a permutation group, and generate data which is the same for all entries.
gp_id:=[27,2];
H:=SmallGroup(gp_id[1],gp_id[2]); n:=#H; LP:=[]; LG:=[g : g in H]; for i in [1..n] do x:=LG[i]; Tx:=[LG[j]*x : j in [1..n]]; permL:=[]; for j in [1..n] do for k in [1..n] do if Tx[j] eq LG[k] then permL[j]:=k; break; end if; end for; end for; Append(~LP,permL); end for; G:=PermutationGroup;
signature:=[0,3,9,9];
genus:=7;
r:=#signature-1;
g0:=signature[1];
dim:=3*g0-3+r;
S:=Sym(gp_id[1]);
// Here we add an action to data.
gen_vectors:=[[9, 7, 8, 3, 1, 2, 6, 4, 5, 18, 16, 17, 12, 10, 11, 15, 13, 14, 27, 25, 26, 21, 19, 20, 24, 22, 23], [11, 12, 10, 14, 15, 13, 17, 18, 16, 20, 21, 19, 23, 24, 22, 26, 27, 25, 3, 1, 2, 6, 4, 5, 9, 7, 8], [24, 22, 23, 27, 25, 26, 21, 19, 20, 4, 5, 6, 7, 8, 9, 1, 2, 3, 13, 14, 15, 16, 17, 18, 10, 11, 12]];
cc:=[7,12,27];
gen_vectors_as_perm:=[S!perm : perm in gen_vectors];
passport_label:=30;
gen_vect_label:=1;
full_auto:=[54,3];
full_sign:=[0,2,6,9];
Append(~data, rec);