Seol mar théacs é seo: Determination of X-ray flux using silicon pin diodes