set_legacy_wavefunction