NeXus profile vs. measurement group

Profiles and measurment groups (MGs) are closely related. The former contain the full specification of the NeXus files, whereas the latter store the Sardana device selection. MGs are a subset of the profiles. All tools changing the device selection try to keep profile and MG consistent.