ENH:  modified:   nsls2/core.py nsls2/tests/test_core.py