Multidimensional analytical method based on binary phase shaping of femtosecond pulses