01 - Preheat the oven to 350°F. Grease and line two 8-inch round cake pans with parchment paper.
02 - In a food processor, finely grind 7 ounces shelled pistachios. Set aside.
03 - In a medium bowl, whisk together flour, baking powder, salt, and ground pistachios.
04 - In a large bowl, cream the butter and sugar until light and fluffy. Add eggs one at a time, beating well after each addition.
05 - Mix in the vanilla extract and lemon zest until well incorporated.
06 - Alternately add the flour mixture and milk to the butter mixture, beginning and ending with flour. Mix until just combined.
07 - Gently fold in 7 ounces fresh raspberries, taking care not to overmix.
08 - Divide the batter evenly between the prepared pans. Smooth the tops. Bake for 40 to 45 minutes, or until a toothpick inserted in the center comes out clean. Cool in pans for 10 minutes, then turn out onto a wire rack to cool completely.
09 - Beat cream cheese and butter until smooth. Gradually add powdered sugar and vanilla, beating until fluffy and well combined.
10 - When cakes are completely cool, spread a layer of frosting over one cake layer, top with the second layer, and frost the top and sides. Decorate with chopped pistachios and fresh raspberries.