put the onion, ginger and garlic in a small food processor and blitz to a paste. heat the oil in a pan over a medium heat and fry the onion paste for 15-20 minutes or until golden brown and caramelised. stir in the tomato puree and spices and toast for 1 minute, then stir in the ground almonds.