In a food processor process the pistachios with 1/4 cup (50g) of the sugar until you have a thick paste.
Pour in 1/2 cup of the milk and process until smooth.
Pour the pistachio milk into a medium sauce pan, then mix in the rest of the milk (1 cups), the heavy cream (1 cup) and the rest of the sugar (1/2 cup, 100g)
Place the sauce pan over medium heat and bring it to a boil while stirring occasionally.
Meanwhile, as the liquids is cooking, in a medium deep bowl, mix the egg yolks with the cornstarch (3 tablespoons/ 27 g) followed by the whole eggs. Set the bowl next to the stove.
Once the mixture reached full boil, remove it from heat and measure half a cup.
Gradually drizzle the mixture (1/2 cup) into the egg mixture while vigorously stirring.
Now pour the egg mixture into the sauce pan with the liquid mixxture and place back over the stove, medium heat.
Cook while stirring with a rubber spatula or a wooden spoon until the mixture is thick. It is ready when you run your finger at the back of a spoon the cream does not follow toward the center. Or, when the temperature reached 180°F.Remove from the heat. Place the butter pieces in a large bowl, then run the pastry cream thorough a sieve into the bowl.
Gently mix the cream until the butter is completely melted, and top the cream with a plastic wrap over the surface of the pastry cream.
Allow the cream to chill at room temperature for one hour, then refrigerate.