Skip to main content
Sandbox Physics
Magnetars and X-ray polarization

Recalculate magnetar polarization from IXPE events

The low and high energy bands in this replay favor directions 83 degrees apart. To see the change, add up calibrated events before taking either angle.

Start from the three sky event lists

Download the Level 2 v03 lists for 01003299 and the unweighted modulation curves valid in early 2022. The script checks the six SHA-256 values. In each detector, take events within 46 arcseconds of the target and a separate background annulus from 106 to 293 arcseconds. Read the energy at the center of each PI channel.

Divide each event’s Q and U by the calibration’s modulation factor at that energy. An instrument with a smaller factor responds less strongly to a fixed polarization. Add the corrected components over each region. Subtract the background totals after multiplying by the ratio of solid angles.

Snet=Ssource−fΩSbg,fΩ=ΩsourceΩbg\boldsymbol S_{\rm net}=\boldsymbol S_{\rm source}-f_{\Omega}\boldsymbol S_{\rm bg},\qquad f_{\Omega}=\frac{\Omega_{\rm source}}{\Omega_{\rm bg}}

Work through the hard-energy band

In 5.5–8 keV, the source circle holds 2,826 events and the background annulus holds 17,206. The area ratio is 0.02836. After subtraction the estimated signal is 2,338 events. The two net Stokes sums are approximately 407 and −801. Their vector has a length of about 899, giving 38.43 percent polarization at −31.53 degrees.

In 2–4 keV the replay gives 16.14 percent at 51.53 degrees. The middle two bands fail the 99 percent two-component detection test. Their finite sample estimates still appear in the plot. An angle measured on a tiny vector can change widely under a small event fluctuation.

Net measured Stokes directions in four energy bands. The soft and hard bands point in nearly opposite directions.
Polarization varies by energy in the public IXPE events. The two middle bands are below the 99% detection threshold.

Keep the discrepancy with the paper

Taverna and colleagues published about 12 percent in the full 2–8 keV band. The same band here gives 15.56 percent. Our event version and exposure differ. Including rows with quality bits set gives 15.61 percent, so that choice makes little difference to this particular gap.

The angle swing survives those choices. Matching the published full-band value would require their original exposure, calibration and event treatment. The benchmark gives separate results for the three detectors. Start with those if a new calibration shifts the full-band value.

python fetch_ixpe.py inputs
python reduce_ixpe.py --source inputs --out rerun.json
python reduce_ixpe.py --source inputs --include-flagged --out rerun-flagged.json
python test_transfer.py rerun-transfer.json

Download the replay and source checksums

IXPE replay scripts and frozen results · 128,565 B

SHA-256 c88f4996591f3a45b8ff89f7bd65e45a4b12c0a1e5369df074ed8dc3f21f9a79

Work it out

Should you average the high and low energy position angles to get the full-band angle?

Answer and explanation

Add net Q and U across the contributing bands, then take the angle of that sum. Here the lower band contains far more events. The total angle stays close to the low-energy direction because that band contributes the longer vector.

Open the magnetar ray Lab

Sources

  1. Taverna et al., Polarized x-rays from a magnetar

    Figures 1–2 and Table S2 give the measured energy dependence. Figure S1 specifies the source and background regions.

  2. HEASARC IXPE observation 01003299

    The public Level 2 files contain sky positions and calibrated event Stokes values for the three detectors.

  3. IXPE modulation-factor calibration files

    Use the unweighted 2021-12-09 response files valid during these observations.

  4. Kislat et al., Analyzing the Data from X-ray Polarimeters with Stokes Parameters

    Sections 2–4 explain the doubled angle in the event estimator and the subtraction of background vectors.

Keep reading

What this page links to directly

See this series on the content map →

Magnetars and X-ray polarization · Reading path

From the polarization ellipse to IXPE events

  1. ArticleHow a magnetar changes the polarization of X-rays
  2. ArticleCalculate the phase delay in a magnetic vacuum
  3. ArticleFollow Stokes parameters along one ray
  4. You are hereRecalculate magnetar polarization from IXPE events
  5. ArticleRead a magnetar atmosphere’s vacuum resonance
Something broken, confusing, or missing on this page?Tell us
What kind of feedback?

Sent with this page’s address, its Lab ID, the site language and your device type. Please leave out personal details. Feedback is kept for up to 12 months.Privacy policy