A more general software tool to find non-linear correction based on RDTs have been developed by Josh.
It also includes feed-down to the desired level.
Based on python and can be used with CpyMAD
Changes such as feed-down to orbit and beta-functions that will change the MAD-X model is not included directly in the script but can be achived by running it itterativley.
Next step will to try the corrections and measure the effect on amplitude detuning and DA studies in.
One interesting study would be to try to correct the b6 with the b4-corrector and see the difference compared to the use of the b6-corrector.