g.part5.lux_persegment function

Extract key lux variables per segment of the data.