The hard part of research is the domain/scientific knowledge, not the scripting. If you look at the original paper, the method is informed by their knowledge of astrophysics, and their knowledge of the current state of the field and existing methods.
Many (maybe most) researchers are terrible programmers, it's a non-issue. If you want to learn how to do this kind of work you have to learn the science.
Many (maybe most) researchers are terrible programmers, it's a non-issue. If you want to learn how to do this kind of work you have to learn the science.