Pre heat oven to 175C and line 12x muffin tray with muffin liners or spray with cooking spray.
Add pistachios to a food processor or blender and blitz until a fine crumb/flour. Add to a mixing bowl along with the remaining dry ingredients. Mix and set aside.
In a separate bowl add the milk and lemon juice. Allow to sit for 5 minutes and then add the remaining wet ingredients. Mix until combined.
Add the remaining pistachios to a food processor and blitz until roughly chopped. (or chop on chopping board)
Add the dry ingredients to the wet, reserving a tablespoon, and stir until just combined. (A few lumps are ok).
Coat the raspberries in the reserved dry ingredient mixture and gently fold into the batter.
Divide the batter evenly between the 12 muffin cups. Sprinkle the tops of the muffins with the chopped pistachios and bake for 23-25 mins, or until the muffins are golden on top and a toothpick inserted into a muffin comes out clean.
Remove the muffins from the muffin tray and place on a cooling rack to cool.