Code for implementing black hole masses and accretion rates based on Aird+2017