public TimeSeriesCollection getTemperatureData() {
		if (sensor == null) return null;
		
		TimeSeriesCollection tsc = new TimeSeriesCollection();
		TimeSeries ts_emp = new TimeSeries("Empirical");
		for(SensorMsg msg : sensor.getMessages()) {
			ts_emp.addOrUpdate(new Millisecond(new Date(msg.getTime())), (float)msg.getTemperature()/8);
		}
		TimeSeries ts_int = new TimeSeries("Interpolated");
		for(SensorMsg msg : sensor.generateMissingMsgs()) {
			ts_int.addOrUpdate(new Millisecond(new Date(msg.getTime())), (float)msg.getTemperature()/8);
		}
		tsc.addSeries(ts_int);
		tsc.addSeries(ts_emp);
		return tsc;
	}