Principle and applications in structure elucidation