Effective algorithm for high-channel-count multichannel fiber Bragg grating designs.