Whole pattern line profile analysis