Name:Remind yourself how to use the program...
Category:IDL
Author:Marcos
Tip:
Adding a hook to check if the program has sufficient parameters, and printing what they should be is always a good idea. I frequently forget what input variables my codes want.
So, something like this reminds me:
if n_params() lt 2 then begin
print,'syntax: myorbitfit2, unified, start, result, [yfit=yfit]'
print,'where start contains [gamma, K, e, omega, T, P]'
retall
endif
what order I'm supposed to send in the initial conditions, etc.