work on single detector data transformation