Profile fitting by the interference function