move electron scale from wave to detector class