diagonal temperature density cut in gadget2fits