By writing non-linear chirp into fiber Bragg gratings, greater control
over dispersion compensation in CPA systems is obtained, such that, for
example, the dispersion profile of the fiber Bragg grating and a bulk
compressor may be matched. An iterative method of writing the fiber
grating can reduce the group delay ripple to very low levels; and
adaptive control of the fiber grating dispersion profile can further
reduce these levels, while in addition offering greater acceptable yield
in the manufacture of such gratings. Fiber Bragg gratings may be designed
so as to provide customized pulse shapes optimized for various end uses,
such as micromachining, for example, and may also be used to counteract
gain-narrowing in a downstream amplifier.