General pulse tube theory