Spatially Resolved Measurement In Fibers With Arbitrary Chromatic Dispersion