The code Rotate_Ins_Remove_and_Ml_calculation.py
is used for calculating the local magnitude and preparing the waveform before calculating the moment magnitude or Mw.
The code Mw_Automatic_Calculator _V2.py
is used for calculating the moment magnitude automatically. This code modified from original author Moment Magnitude Automatic Calculator, please check the original author for better understanding.