Preheat your oven to 350°F (175°C) and line a muffin tin with paper liners or grease with non-stick spray.
In a large mixing bowl, whisk together the flour, baking powder, baking soda, salt, cinnamon, nutmeg, and ginger.
In another bowl, whisk together the granulated sugar, brown sugar, eggs, butter, and vanilla extract until smooth and well combined.
Gradually add the wet ingredients to the dry ingredients, stirring until just combined. Be careful not to overmix.
Fold in the grated carrots, raisins, and half the chopped nuts until evenly distributed in the batter.
Spoon the batter into the prepared muffin tin, filling each cup about 2/3 full.
Bake in the preheated oven for 20-25 minutes, or until a toothpick inserted into the center of a muffin comes out clean.
Allow the muffins to cool in the tin for 5 minutes, then transfer them to a wire rack to cool completely.