LAMA: LAMOST Medium-Resolution Spectral Analysis Pipeline | Synapse