Implement simple photon <-> ergs conversion