Tuesday, April 17, 2007

Coding!

Yesterday was the help reading day ... that gave me some light on the M/L ratio stuff and some light on other points of using the kcorrect code.

Rewrote the script to run the kcorrect and it got much faster with the improvement from the help file. Results were checked and are identical, so it's really an efficiency improvement hehehehehehe

The M/L imediate problem was solved since the wished output band for it is in the input band list, so no magic was needed. For the next case I'll need and output on a band that's not in the input band list ... there's a clear way of doing it which is using the output mags as input again and get the M/L in the band I want. That sounds a bit recursive and not at all as the group that writes the code. They like efficiency and they are efficient (the code is really great!). I just wrote one of the authors to ask this small "trick" that I couldn't find in the help! Let's see the answer!

0 Comments:

Post a Comment

<< Home