See associatedK3surface(CubicFourfold) and associatedK3surface(GushelMukaiFourfold).
The object associatedK3surface is a method function with options.
The source of this document is in SpecialFanoFourfolds/docs.m2:364:0.