F5UII wrote an excellent article on how to calibrate a MMDVM repeater. Both with a spectrum analyzer or with a simple (RTL) SDR USB stick as an alternative to a spectrum analyzer. Great stuff, please have a look;
Install MMDVMHost on Raspberry Pi and tuning MMDVM for DMR digital mode
Thanks and 73s
Daniel de DL6FZ