Pichu (and Cuzco) are up in the highlands at about 4,000 meters or so - the jungle is a bit to the East.
But, I'm sure you had a great trip - hopefully the train has improved or you got a face full of diesel fumes during the entire ride.
Definitely a great country to visit, though.