First of all, good point about the X/Y coordinates, that will be included in the next release.
Actually, there is no direct equivalent of restoreSelfConsistentCalculation() in the new version, because the configuration and the "scf" are not (as before) separate objects, but rather the same object. This is nice, bcs it means you keep the geometry and the calculation together all the time.
To figure these things out, I generally recommend using VNL for a test case; it will generate a script that shows you how to do it. In your case, you would start the Scripter blank (click the icon, instead of dropping anything on it), then double-click "Analysis from file", and then double-click "Analysis" and choose "Molecular Energy Spectrum".
At this point, send the script to the Editor, and you will have
configuration = nlread("analysis.nc", object_id="gID000")[0]
molecular_energy_spectrum = MolecularEnergySpectrum(
configuration=configuration,
energy_zero_parameter=FermiLevel,
projection_list=ProjectionList(All)
)
nlsave('analysis.nc', molecular_energy_spectrum)
nlprint(molecular_energy_spectrum)
As you also see from this, in the new version all the results are saved to an NC file (the same as the configuration, or another one) using nlsave().
And, finally: MolecularEnergySpectrum for device = MPSH in the new version.