Code for the M31 modeled flux mapping project.