WorksPhysics and Astronomy
Deconvolved IXPE Polarization Maps of the Crab Nebula in a Maximum-a-Posteriori Framework
Abstract
We analyze the first IXPE observation of the Crab Nebula using a polarization-resolved deconvolution method based on maximum a posteriori (MAP) estimation. The method reconstructs the polarization-resolved intensity map as a three-dimensional distribution in sky-position and polarization-angle spaces, using an instrumental response that depends on the incident direction and polarization angle of X-ray photons. We apply the method to the IXPE data in the 2-8~keV band and compare the result with that obtained using the basic analysis. Our result shows sharper spatial structure, making the jet shape more clearly identifiable than that in the basic analysis. The reconstructed image shows a statistically significant tendency for the magnetic-field orientation to be perpendicular to the intensity-gradient orientation in the jet region. Although these results are obtained by using a simplified response where systematic uncertainty remains, they demonstrate that our MAP-based deconvolution can improve the interpretability of IXPE polarization maps for nebular sources.
Introduction
Imaging X-ray polarimetry provides a direct probe of magnetic field geometry and emission mechanism in high-energy astrophysical sources. The Imaging X-ray Polarimetry Explorer (IXPE) enables spatially resolved measurements of linear polarization for extended objects with an arcminute-scale field of view and energy coverage in a few keV range [20]. For bright nebulae such as the Crab, IXPE has already delivered detailed maps of polarization degree and polarization angle (i.e., electric vector position angle; EVPA), revealing their spatial variations and thereby constraining particle-acceleration mechanisms and magnetic field structures [e.g. 13, 21].
The Crab Nebula is a bright synchrotron-emitting nebula powered by the Crab pulsar, which has a rotation period of 34 ms and exhibits pulsed emission. The nebula shows a torus shape around the pulsar and two jets flowing outwards aligned with the torus axis. For optically thin synchrotron emission, the observed polarization angle is perpendicular to the magnetic field orientation [17], so polarization-resolved morphology is important for understanding the magnetic field configuration and the dynamics of the jet flow. The angular resolution of IXPE, characterized by a half-power diameter of approximately 25 arcsec, is comparable to the width of the jet. Therefore, the jet structure is not fully resolved in the observed images.
IXPE consists of three X-ray telescopes, each with a mirror module assembly and a Detector Unit (DU) based on a gas pixel detector. Incident X-rays from the sky are focused by the mirror module assemblies onto the gas pixel detectors, and the detection points at the focal plane are blurred by the point-spread function (PSF) of the mirror module assemblies. In the gas pixel detector, each photon is absorbed and produces a photoelectron through the photoelectric effect. For a linearly polarized photon, the probability distribution of the emission direction of the photoelectron depends on the photon polarization direction and the photoelectron is scattered by the gas and then the direction of the track is broadened. The inference of a sky polarization map is therefore affected by both the telescope PSF and the detector response to photoelectron directions. This coupled response makes it difficult to infer the sky polarization map.
Previous studies have investigated instrumental effects associated with the IXPE PSF and polarization leakage [4]. Polarization leakage arises from correlations between errors in the reconstructed photon position and photoelectron direction, producing spurious polarization patterns even for intrinsically unpolarized emission. J. T. Dinsmore & R. W. Romani [6] developed a model to predict and correct this effect and derived sky-calibrated PSFs from in-orbit point-source observations. J. Wong et al. [21] incorporated this model in their analysis of the Crab Nebula and reconstructed spatially resolved polarization using the Chandra intensity image.
Here, we adopt a different approach to reconstructing the polarization map. We formulate the reconstruction in spatial–polarization-angle count space and apply a Poisson likelihood to the observed binned counts. The reconstruction is regularized with smoothness priors under a maximum a posteriori (MAP) framework and does not use an external intensity image such as the Chandra image. Since the Crab pulsar is a bright point source whose PSF wings contaminate nearby regions, we adopt a multi-component model to separate the pulsar and nebular emission, following M. Morii et al. [14]. We make the response matrix from simulations performed with ixpeobssim [3]. Polarization leakage is not included in the available simulations and is therefore not accounted for in our reconstruction. We apply the method to the first IXPE Crab observation and compare the result with that from a basic polarization analysis using the ixpeobssim pcube product, with the same event selection applied to both analyses. We also compare the reconstructed polarization image with that reported by J. Wong et al. [21].
Observations and data processing
The Crab Nebula has been observed by IXPE at multiple epochs. In this work, we analyze the first IXPE Crab observation (ObsID 01001099) to enable comparisons with previous analyses based on the same dataset. The data are provided as a Level-2 event dataset through the IXPE archive at the High Energy Astrophysics Science Archive Research Center (HEASARC).1 The on-source exposure of the dataset is 92.3 ks. We select events in the 2–8 keV band for our analysis.
To assign pulse phases to the observed events, we apply the barycentric correction to the Level-2 event times using barycorr in HEASoft v6.35.1, adopting the JPL DE440 solar-system ephemeris and the Crab pulsar coordinates recorded in the event-file header, , in the ICRS/J2000 frame. Pulse phases are assigned to events using xpphase in ixpeobssim v31.1.1 with the Jodrell Bank Observatory (JBO) ephemeris listed in Table 1 [21]. Figure 1 shows the pulse profile obtained by folding the events. As shown by the dashed vertical lines, we divide the pulse cycle into five phase intervals of equal width and make the pulse-phase-resolved images for the intervals. The five phase intervals are labeled 1–5 in the figure. We refer to interval 2, which has the lowest count rate, as the off-pulse phase. For each event, the polarization angle is calculated from the argument of a complex number , where and are the event-by-event Stokes parameters: , implemented using the arctan2 function.
| Parameter | Value |
| PEPOCH (MJD) | 59625 |
| (Hz) | 29.5870753202 |
| ( Hz s) | |
| ( Hz s) | 8.04 |
Table 1. Crab pulsar ephemeris used for pulse-phase assignment. We adopt the JBO ephemeris reported in Table 1 of J. Wong et al. [21].
Figure 1. Folded pulse profiles (phase 0–2) of the Crab pulsar in the 2–8 keV band for ObsID 01001099. The profiles for DU1, DU2, and DU3 are shown separately (colored curves; labels in the legend). For clarity, the pulse profile in phase 0–1 is repeated over two cycles (0–2). The profiles are divided into 64 phase bins per cycle. Dashed lines show five phase intervals of equal width (labeled 1–5).
Method
Mathematical formulation of the polarization-map reconstruction
We formulate the polarization-map reconstruction as an inverse problem, in which we discretize both the detector space for observed data and the sky-polarization space for the unknown intensity. For the detector space, we bin observed events in two spatial dimensions and one polarization-angle dimension. In the spatial dimensions, we choose a pixel size and region of interest (ROI) to capture the Crab jet and nebular structure. We adopt a pixel size of 5.832 arcsec and set the numbers of pixels to and , corresponding to a field of view. For each DU, the ROI center is set to the peak position of the two-dimensional count image, which is close to the pulsar. The adopted image centers are listed in Table 2, and the resulting detector images are shown in Figure 2.
| DU | R.A. (h:m:s) | Dec. (d:m:s) |
| DU1 | 05:34:31.87 | +22:00:52.56 |
| DU2 | 05:34:31.68 | +22:00:54.72 |
| DU3 | 05:34:31.75 | +22:00:54.36 |
Table 2. Adopted ROI center coordinates for each IXPE DU. These centers are defined by the peak positions in the two-dimensional count images integrated over all pulse phases. The coordinates are given in ICRS (J2000).

Figure 2. Detector images for ObsID 01001099 in the – keV band. The images are integrated over all pulse phases, binned with a pixel size of arcsec, centered on the count peak in each DU, and cropped to an ROI of pixels. Panels (a)–(c) correspond to IXPE detector units DU1–DU3, respectively.
We divide the polarization-angle interval into equal-width bins. We refer to this three-dimensional binned representation of the detector-space data as a detector cube. It contains detector voxels for each DU. We denote the observed counts in detector voxel for DU and pulse-phase interval by , where , with , and with .
The sky-polarization space for the unknown intensity to be reconstructed is also discretized by the same spatial extent, pixel size, and polarization-angle binning as the detector space. We refer to this discretized sky-polarization space representation as a sky cube. The sky cube contains sky voxels, indexed by . Each voxel index consists of a pair , where with and denotes the spatial pixel, and denotes the polarization-angle bin.
For modeling a nebula containing a bright pulsar with pulse-phase dependent intensity variations, we follow M. Morii et al. [14]. We represent the sky emission as a sum of two components. The first component is the nebular component , which expresses the extended emission from the Crab Nebula and is assumed to be independent of pulse phase. The second component is the point-source component , which expresses the contribution from the Crab pulsar and is allowed to vary with pulse phase .
For each DU , we define the response matrix which gives the expected fraction of intensity at detector voxel from a unit intensity at sky voxel . The -th column of expresses the detector-space count distribution produced by a point source at sky voxel . With this response, the expected counts in detector voxel of DU and phase interval are written as
where is the width of phase interval in units of pulse cycles. In this work, we adopt equal-width phase bins, so that . The calculation of is described in § 3.5.
We model the pulsar as a point source at a fixed position and estimate only its phase- and polarization-dependent flux. Let denote the point-source flux for polarization-angle index and phase index . This component includes both the phase-independent and pulsed emission from the pulsar. We write the pulsar contribution on the sky as
where is a source image with unit intensity located only at sky position and confined to the -th polarization-angle bin:
We assume that the observed counts follow Poisson distributions with means . The likelihood is then given by
where and . Taking the logarithm and dropping terms independent of yields
We adopt a maximum a posteriori (MAP) approach. The estimated sky intensity and point-source flux, denoted by , are obtained by maximizing the posterior probability using Bayes’ theorem:
where is a prior probability.
Regularization
We use three prior factors: (i) polarization-angle smoothness of the nebular component , (ii) spatial smoothness of the nebular component , and (iii) a constraint on the point-source flux . These factors are written as
The polarization-angle smoothness prior is
where
is a hyperparameter controlling the smoothness in the polarization-angle dimension, and is a normalization constant. The last term accounts for the periodic boundary condition in the polarization-angle coordinate. The spatial smoothness prior is
where
is a hyperparameter controlling the smoothness in the spatial dimensions, and is a normalization constant. The point-source flux prior is
where
is a hyperparameter controlling the strength of the flux constraint, and is a normalization constant. This prior encourages the point-source flux summed over the polarization-angle bins to be close to the reference flux . In this analysis, we set the reference flux to the observed pulsed flux:
where denotes the off-pulse phase. Therefore, the sky intensity and the point-source flux are calculated by
Optimization
We maximize Eq. (15) using the limited-memory BFGS algorithm with bound constraints (L-BFGS-B), which requires the objective function and its gradient ([5, 22]). We use the implementation provided by scipy.optimize ([19]) with bounds and .
The gradient of the log-likelihood term with respect to is
The gradient of the log-likelihood term with respect to is
The gradient of the polarization-angle smoothness term is
Here the first and last cases mean the periodic boundary condition along the polarization-angle coordinate.
The gradient of the spatial smoothness term depends on the position of the spatial pixel because boundary pixels have fewer nearest neighbors. We therefore write it separately for interior pixels, edge pixels excluding corners, and corner pixels. For an interior pixel (, ),
For edge pixels excluding corners,
For corner pixels,
The gradient of the point-source flux term is
Hyperparameter selection by cross-validation
We select the hyperparameter set using -fold cross-validation. For an IXPE event dataset, we randomly divide the detected events into subsets with approximately equal numbers of events to make the training–validation data pairs for cross-validation, where the -th pair consists of the -th subset as the validation data and the remaining subsets as the training data (). We use in this analysis. We denote by the number of events in detector voxel for DU and phase interval of the -th validation data.
We evaluate each hyperparameter set in the three-dimensional hyperparameter space using the cross-validation score defined below, which is computed from the training–validation pairs. For each hyperparameter set and pair , we obtain the estimates and by deconvolving the -th training data. The expected detector counts are calculated from these estimates as
We quantify the difference between and by the root-mean-square error (RMSE) for the -th pair:
Here, the factor accounts for the sample size difference between training and validation data. We calculate the cross-validation score by the mean over the pairs,
and also calculate the standard error of this mean by
In cross-validation, hyperparameter sets with smaller values of the cross-validation score are generally preferred. Choosing the set with the smallest score, however, can lead to weak regularization and increase the risk of overfitting to training data. To reduce this risk, we adopt the one-standard-error (1-SE) heuristic ([8]). The 1-SE heuristic defines a set of acceptable hyperparameter sets whose cross-validation scores are within one standard error of the minimum:
where denotes the hyperparameter set that gives the smallest value of . By defining the normalized deviation from the minimum cross-validation score as
the 1-SE acceptable region is expressed as . Within this region, the 1-SE heuristic chooses a hyperparameter set of the strongest regularization: . In the three-dimensional hyperparameter space, however, this condition does not specify a unique hyperparameter set. To determine a single hyperparameter set, we therefore introduce an additional score to balance the contribution among the three hyperparameters :
where the weights adjust the strength of for . We determine the weights as proportional to the change in per unit change in : (: coefficient; ) because the relationship between and is approximately linear on a log-log scale, as shown in Appendix § 7. With fixed at 1, and are determined as described in Appendix § 7.
We use Bayesian optimization (BO) to reduce the computational cost of searching the three-dimensional hyperparameter space [18]. Since the 1-SE acceptable region is defined relative to , the BO search is performed in two steps. In the first step, we minimize to estimate . In the second step, we minimize the objective
The first term penalizes deviations from , corresponding to the boundary of the 1-SE acceptable region. The second term helps to select a single hyperparameter set near this boundary while balancing the contributions of the three regularization parameters. We choose sufficiently small that the second term does not dominate the first term, and set in this analysis (see Appendix B for the setting of ). We define the selected hyperparameter set as .
Response matrix
The coupled spatial and polarization-angle response matrix is not available in a ready-to-use form in the standard IXPE calibration products. We therefore make the response matrix from simulations. The -th column of represents the detector-space count distribution produced by emission with unit intensity from a single sky voxel . Thus, the full response matrix can be calculated by separately simulating the event distribution in detector space for each sky voxel and stacking these distributions as the columns of the matrix. We generate these event distributions using the IXPE simulation and analysis framework ixpeobssim [3].
We assume that the point-source responses at different positions within the ROI can be represented by a single response template. This approximation also neglects spatial variations of the exposure and vignetting across the ROI. We therefore simulate only one template response and approximate the responses for other sky voxels by shifting this template in the two spatial directions and by circularly shifting it in the polarization-angle direction. This approximation is expected to be adequate for the small field of view used here (), because off-axis PSF variations are modest and the mirror aberration is reported to be much smaller than the PSF half-power diameter across the field of view (ixpeobssim Developers 2026).
We generate the template response by simulating a point source with 100% linear polarization and an input polarization angle of . For simplicity, we adopt a monochromatic photon energy of 3 keV and use the ixpeobssim calibration response set specified by irfname=ixpe:obssim20240701:v13. Polarization leakage is not included in the calibration response set used here and is therefore omitted from our response matrix. The source and pointing directions are both set to the Crab pulsar coordinates, placing the simulated source at the image center. We generate simulated events for each DU so that Monte Carlo uncertainty in the resulting template is negligibly small compared with the statistical uncertainty in the observed data. The simulated events are binned with the same spatial pixel size and polarization-angle binning as the analysis detector cube, but on a larger spatial grid to provide a margin for shifting the template before extracting the central spatial grid.
For each sky voxel , we calculate the corresponding column of the response matrix from the template response. Let denote the spatial pixel of the injected point source in the template, and let denote the polarization-angle bin corresponding to the input polarization angle . For , the template is shifted by pixels in the two spatial directions and circularly shifted by bins in the polarization-angle direction. After shifting the template, we extract the central region to match the analysis detector cube. The cropped detector distribution is assigned to the -th column of . After shifting and cropping, we normalize each column so that the total counts summed over all detector voxels of the three DUs equal unity:
With this normalization, can be interpreted as the probability that a photon originating from sky voxel is recorded in detector voxel of DU .
The resulting response matrix has dimensions for each DU, where in this work. When stored in dense format using double-precision floating-point numbers, each response matrix requires approximately 2.86 GiB for each DU, or approximately 8.6 GiB for all three DUs. The storage size of the matrix can be reduced by representing it in sparse format because many elements are numerically negligible. For a given sky voxel , the value of is very small for detector voxels far from the sky position of . To reduce the computational cost, we therefore set elements smaller than to zero and then renormalize each sky-voxel column to preserve the normalization introduced above. The size of the response matrix is reduced to approximately 0.5–0.6 GiB per DU, or approximately 1.6 GiB for all three DUs. In the numerical implementation, the response matrices are stored on the GPU in a sparse format and reused for repeated deconvolution runs during hyperparameter selection.
Results
Selected hyperparameters
We select the hyperparameter set using the cross-validation procedure described in § 3.4. The weights in Eq. (35) are estimated as described in Appendix § 7; we obtain and . The BO search is implemented with Optuna [1]. We search , , and , with each hyperparameter sampled on a logarithmic scale. In the first BO run, we minimize over 100 trials, consisting of 30 randomly sampled startup trials and 70 subsequent trials. This yields at . In the second BO run, we minimize the objective function defined in Eq. (36), using the value of obtained from the first run. We perform 200 trials, consisting of 30 randomly sampled startup trials and 170 subsequent trials. Figure 3 shows the hyperparameter sets evaluated in the second BO run, and the red marker indicates the selected hyperparameter set .

Figure 3. Corner plot of the hyperparameter sets evaluated in the second BO run, shown in space. The diagonal panels show one-dimensional histograms of the hyperparameter values sampled in the 170 subsequent optimization trials. The off-diagonal panels show Gaussian-smoothed histograms, with contours enclosing 50%, 80%, and 95% of the smoothed histogram mass. The first 30 randomly sampled startup trials are excluded from the plot for clarity. The red marker denotes the trial that minimizes the objective (Eq. (36)).
Deconvolved image and polarization maps
Using the hyperparameter set determined in § 4.1, we reconstruct the polarization map of the Crab Nebula. For comparison, we also perform a basic polarization analysis using pcube for the same event selection and ROI. Figure 4 (a,b) compares the intensity and polarization maps obtained from the basic analysis and from our deconvolution. For the basic analysis, we make the map from the full event set, including all pulse phases, and combine the three DUs into a single map. For our deconvolution result, we show the reconstructed nebular component , summed over the polarization-angle coordinate. This component corresponds to the phase-independent nebular emission in our model and therefore does not include the phase-dependent point-source component. In both panels, the colors indicate the intensity per spatial pixel and the overlaid vectors show the magnetic field orientation at each pixel (Appendix § 9), defined as perpendicular to the corresponding polarization angle. For both panels, pixels with intensities below 1000 counts are masked for clarity. The deconvolved map shows sharper spatial structure than the basic binned map, particularly around the jet. Figure 4 (c) shows a 2–8 keV Chandra ACIS-S image (ObsID 23539) of the same sky region for comparison of the spatial morphology.

Figure 4. Comparison of the Crab Nebula images in the 2–8 keV band. (a) Intensity map overlaid with magnetic-field orientations obtained from the basic binned polarization analysis using the ixpeobssim pcube products for the IXPE observation (ObsID 01001099). (b) Map of the reconstructed nebular component obtained from our deconvolution, summed over the polarization-angle coordinate. In panels (a) and (b), colors indicate the total intensity per spatial pixel, and white vectors indicate the magnetic-field orientations, with lengths proportional to the polarization degree. Pixels with fewer than 1000 counts are masked in the IXPE polarization maps. The black rectangle marks the jet region analyzed in Figure 5. (c) Chandra ACIS-S image of the Crab Nebula (ObsID 23539) in the same 2–8 keV band and sky region, shown for comparison of the spatial morphology.
We next examine the polarization pattern in the jet region indicated by the black rectangle in Figure 4. Figure 5 (a) shows the pixel-wise polarization results from the basic analysis in the jet region denoted in Figure 4, including the polarization degree, magnetic-field orientation, and 90% minimum detectable polarization (MDP). The red vector indicates the magnetic field orientation, which is perpendicular to the polarization angle. The dashed semicircle indicates the 90% MDP obtained from the ixpeobssim pcube analysis, where it is calculated using the standard count-based method ([10]).

Figure 5. (a) Pixel-wise polarization results from the basic analysis. Each panel corresponds to one spatial pixel within the jet region shown in Figure 4. In each panel, the red vector indicates the magnetic field orientation, with its length proportional to the polarization degree. The dashed semicircle indicates the 90% MDP. The angular and radial scales are common to all panels and are shown in the top-left reference plot. For clarity, tick labels are shown only in the reference plot. (b) Pixel-wise polarization results obtained from our deconvolution. Each panel corresponds to one spatial pixel within the jet region shown in Figure 4. In each panel, the red vector indicates the magnetic field orientation, with its length proportional to the reconstructed polarization degree (Appendix § 9). The blue line shows the intensity-gradient orientation derived from the deconvolved intensity map; this quantity is defined in § 4.3. The dashed semicircle indicates the empirical 90% MDP estimated from unpolarized Monte Carlo simulations through the deconvolution procedure (§ 4.3). The black rectangle marks the jet body–to–tip subregion used for the statistical analysis in § 4.3.
Figure 5 (b) shows the pixel-wise polarization results obtained from our deconvolution in the jet region shown in Figure 4. Compared with the map from the basic analysis, the change in the magnetic field orientation from the jet body to the tip is more apparent in the deconvolved map. Because the deconvolved intensity values are inferred through the reconstruction and are not direct event counts, the standard count-based MDP is not directly applicable. Instead, the dashed semicircle in Figure 5 (b) shows the empirical pixel-wise 90% MDP estimated from unpolarized Monte Carlo simulations described in § 4.3. The black rectangle marks the jet body–to–tip subregion, denoted by , which is used for the statistical analysis in § 4.3. The blue lines in Figure 5 (b) indicate the intensity-gradient orientation derived from the deconvolved intensity map.
The magnetic field orientation appears approximately perpendicular to the jet-flow direction in the jet body (upper right) and more nearly parallel to the jet near the tip (lower left). Within the subregion , the magnetic field orientation appears to be approximately perpendicular to the local intensity-gradient orientation. We statistically quantify this relation in § 4.3. The change in magnetic field orientation relative to the jet-flow direction is broadly consistent with previous spatially resolved analyses of the Crab Nebula, which reported a transition of the magnetic field orientation from an approximately perpendicular orientation at the jet body area to roughly parallel along the jet ([21]). It needs to be noted that their analysis accounts for instrumental effects including the PSF structure, polarization leakage, and the energy dependence of the modulation factor. Our response model uses
@references geschniegelt
a simplified PSF and omits the other two effects (§ 3.5), which may cause systematic errors in our reconstructed polarization maps.
Statistical evaluation of the relation between magnetic-field and intensity-gradient orientations in the subregion S
The empirical pixel-wise 90% MDP values shown in Figure 5 (b) are estimated from unpolarized Monte Carlo simulations generated under the null hypothesis of zero polarization. To generate the null distribution, we make an unpolarized sky intensity from the reconstructed nebula sky intensity . At each spatial pixel , we preserve the total intensity summed over the polarization-angle coordinate and redistribute it uniformly over the polarization-angle bins. Specifically, we define
where
We compute the expected detector counts for each DU from using the response matrix,
Here, we ignore the pulsar component because the contribution of the pulsar to the subregion is small compared with the nebula component. We generate Monte Carlo realizations of the detector counts by Poisson sampling with means . We index these realizations by and denote the corresponding detector counts by for DU :
For each realization , we reconstruct the nebular sky intensity from the corresponding detector counts for the three DUs using our deconvolution procedure. Here, we use the polarization-angle and spatial smoothness priors with and , respectively, which are obtained from the cross-validation of the original observed data. The prior of flux constraint is omitted. We define the 90% MDP at pixel , , as the 90th percentile of the reconstructed polarization degrees obtained at that pixel from the unpolarized realizations.
In the jet body–to–tip subregion , the reconstructed magnetic field orientation appears to be approximately perpendicular to the intensity-gradient orientation (§ 4.2). Since the photon counts in individual pixels remain limited, we need to evaluate the significance of this relation statistically over the pixels in . We therefore define a concentration statistic for the angle differences between the magnetic field orientation and the intensity-gradient orientation in , and evaluate its significance by comparing the observed statistic with those of empirical null distributions obtained under the two null hypotheses described below.
We define the intensity-gradient orientation from the deconvolved intensity map. For each spatial pixel , we estimate the two gradient components using the Prewitt operators and along the two spatial directions ([16]). We then define the gradient-direction angle as
We define the intensity-gradient orientation by treating opposite gradient directions as equivalent:
Let denote the magnetic field orientation, which is perpendicular to the polarization angle. For each pixel in the jet body–to–tip subregion , we define the signed angle difference between the intensity-gradient orientation and the magnetic field orientation as
where .
We use the mean resultant length, which is a standard measure of concentration in circular statistics [11], as a statistic for the concentration of the angle differences . Because the directional information is not equally reliable in all pixels, we introduce weights designed to emphasize pixels with stronger intensity gradients, higher polarization degrees, and larger event counts:
where
and and are the polarization degree and the number of events at pixel , respectively. This gives the weighted mean resultant length
Here, the angle differences are doubled so that they can be treated as -periodic angles in calculating the mean resultant length.
We compare the observed concentration statistic with the same statistic of Monte Carlo simulations under two null hypotheses. The first is the unpolarized null hypothesis, by which we test whether a concentration as large as the observed one can arise from Poisson fluctuations in the case of no polarization. The second is a polarized null hypothesis in which the polarization angle is randomized independently at each spatial pixel while preserving the total intensity and polarization degree. This hypothesis tests whether the observed concentration can arise when the polarization orientation has no relation to the local intensity-gradient orientation. For both null hypotheses, we generate detector counts using the response matrix and Poisson sampling, and apply the same deconvolution procedure as described above for the MDP calculation.
Figure 6 shows the distributions of obtained from realizations under the two null hypotheses, together with the observed value . Panel (a) shows the case of unpolarized null hypothesis, and panel (b) shows that of the polarized null hypothesis with randomized polarization angles. We define the one-sided -value as

Figure 6. Distributions of the weighted mean resultant length for the jet body–to–tip subregion under two null hypotheses. (a) Distribution obtained from realizations under the unpolarized null hypothesis. (b) Distribution obtained from polarized realizations in which the polarization angle is randomized independently at each spatial pixel while preserving the total intensity and polarization degree. In both panels, the vertical line indicates the observed value, , measured from the data.
where is the number of null realizations satisfying . For the unpolarized null hypothesis, we obtain and . For the polarized null hypothesis with randomized polarization angles, we obtain and .
Discussion and Conclusion
We applied a MAP-based polarization-resolved deconvolution to the first IXPE observation of the Crab Nebula. The deconvolution yields polarization-resolved maps with sharper spatial structure than the basic (p.cube-based) analysis, making the jet morphology more clearly identifiable. In the jet body-to-tip subregion , the reconstructed magnetic field orientation shows a statistically significant relation to the local intensity-gradient orientation. The weighted mean resultant length of the angular differences () is larger than those expected under the null hypotheses with no polarization and randomized polarization angles ( and , respectively), indicating that the recovered polarization pattern at jet regions is unlikely to be explained by statistical fluctuations.
A previous spatially resolved IXPE analysis by J. Wong et al. [21] reported that the magnetic-field orientation relative to the jet axis changes from approximately perpendicular in the jet body to approximately parallel along the jet. In our analysis, the magnetic field orientation varies with the local intensity-gradient orientation across region , maintaining an approximately perpendicular relation. As discussed by J. Wong et al. [21], the observed change in magnetic field orientation along the jet may be related either to kink instabilities along the jet, which can strongly deflect a magnetized flow [12], or to collision with a dense medium near the jet tip, which may deflect the jet and reorganize the local magnetic field geometry. A comparison between the polarization pattern recovered in the deconvolved jet map and polarization patterns predicted by theoretical models will be an interesting direction for future study.
We use equal-width polarization-angle bins for all spatial pixels. We chose this binning empirically by considering the smoothness of the reconstructed image and polarization-angle distributions, the computational cost, and the angular sampling needed to recover the polarization signal. Coarser binning does not adequately sample the polarization-angle distribution, whereas finer binning increases the computational cost and makes the deconvolution less stable against Poisson fluctuations, producing spurious modulation and increasing the reconstructed polarization degree. The same effect in unpolarized Monte Carlo realizations also increases the empirical MDP. In the outer regions of the nebula (Figure 4), including the jet region (Figure 5), both the reconstructed polarization degree and the empirical MDP tend to be larger than those obtained from the basic analysis. Varying the polarization-angle binning according to the local photon counts may improve reconstruction stability.
The response model used in our analysis involves several approximations. We approximate the position-dependent PSF across the ROI by spatially shifting a single template and omit polarization leakage. Spatial variations of exposure and vignetting are also neglected. These simplifications may affect the reconstructed spatial polarization pattern. We also adopt a monochromatic response at 3 keV, using the modulation factor at this energy throughout the nebula. Because the Crab Nebula’s spectrum varies spatially and the modulation factor depends on energy, the effective modulation factor averaged over the detected photon spectrum can differ between sky positions. Our monochromatic approximation does not account for these differences and may therefore cause spatially varying systematic errors in the reconstructed polarization degree. Since our method is formulated in polarization-angle count space, the Stokes-based polarization-leakage treatment adopted by J. Wong et al. (2024), based on the model of J. T. Dinsmore & R. W. Romani (2024), cannot be applied.
The polarization leakage can instead be incorporated into the simulated detector response used to construct the response matrix. The monochromatic approximation can also be avoided by making the response matrix assuming a spectrum at each sky position. These improvements can be made without changing our deconvolution framework and are important tasks for future work. Since multiple IXPE observations of the Crab are available, merging these datasets and applying the deconvolution to the combined data may improve significance in the jet and enable a more detailed evaluation of the polarization structure we find.
These results show that polarization-resolved deconvolution with smoothness priors can enhance the scientific interpretability of IXPE data by improving polarization maps and revealing spatial structures that are difficult to isolate in the basic analysis.
Acknowledgments
This work was supported by JSPS KAKENHI Grant Number JP19H05609. We acknowledge the use of ChatGPT, DeepL, and Google Translate for translation assistance, language editing and grammar checking.
Facilities: IXPE
Software: ixpeobssim [3], NumPy [7], SciPy [19], Astropy [2], PyTorch [15], Optuna [1]
Weights in the score function
To estimate , we first define a normalized deviation as a function of while holding and fixed:
where is defined as
We calculate at on a three-dimensional logarithmically spaced grid with points in each axis , with , , and . We average over all grid values of and :
where denotes the -th grid value of , and denotes the -th grid value of . We apply the same procedure to and and obtain and , respectively. Figure 7 shows for . The relationships between and are approximately linear on a log–log scale. We therefore fit each relationship with

Figure 7. used to determine the hyperparameter weights (). Blue points show and shaded bands indicate the interquartile ranges (25–75%) of . The red lines show the best-fit lines with the function (A4) using the four grid points around , indicated by the horizontal dashed line. The open square in each panel marks the minimum of , and the vertical dashed line indicates the corresponding value of . Points with smaller than this value are omitted for clarity.
where is the slope in the – plane and provides an estimate of (). We fix and define the remaining weights as
For each hyperparameter, we fit the function (A4) to the four grid points around . The red lines in Figure 7 show the best-fit results. The fitted slopes are , , and , which give and .
Setting of
The minimum point of , , is different from that of , , corresponding to 1-SE boundary (). We choose so that this difference in the selected hyperparameters can remain within a numerical precision . For simplicity, we first vary while holding and fixed. The stationary condition for with respect to is
where . Near the 1-SE boundary, we approximate to the first order in :
Approximating , we obtain , where is the minimum point of . Requiring this difference to be smaller than gives . We approximate by the slope at obtained in Appendix § 7. and are estimated similarly. We set , which corresponds to roughly one grid in Figure 3. This gives upper bounds 0.50, 0.43, 1.73 for , respectively. We therefore set .
Polarization degree and angle of reconstructed image
For each spatial pixel , we calculate the polarization degree and polarization angle from the reconstructed intensity distribution along the polarization-angle coordinate as follows. Let denote the center of the -th polarization-angle bin and let denote the reconstructed nebular intensity in that bin. We define , , and . The polarization degree and polarization angle are then calculated as
Here, the angle is calculated using the arctan2 function.
References
- [1]Akiba, T., Sano, S., Yanase, T., Ohta, T., & Koyama, M. 2019, in Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (Association for Computing Machinery), 2623–2631, doi: 10.1145/3292500.3330701DOI
- [2]Astropy Collaboration, Price-Whelan, A. M., Lim, P. L., et al. 2022, ApJ, 935, 167, doi: 10.3847/1538-4357/ac7c74DOI
- [3]Baldini, L., Bucciantini, N., Di Lalla, N., et al. 2022, SoftwareX, 19, 101194, doi: 10.1016/j.softx.2022.101194DOI
- [4]Bucciantini, N., Di Lalla, N., Romani, R. W. R., et al. 2023, A&A, 672, A66, doi: 10.1051/0004-6361/202245744DOI
- [5]Byrd, R. H., Lu, P., Nocedal, J., & Zhu, C. 1995, SIAM J. Sci. Comput., 16, 1190, doi: 10.1137/0916069DOI
- [6]Dinsmore, J. T., & Romani, R. W. 2024, ApJ, 962, 183, doi: 10.3847/1538-4357/ad2065DOI
- [7]Harris, C. R., Millman, K. J., van der Walt, S. J., et al. 2020, Nature, 585, 357, doi: 10.1038/s41586-020-2649-2DOI
- [8]Hastie, T., Tibshirani, R., & Wainwright, M. 2015, Statistical Learning with Sparsity: The Lasso and Generalizations (CRC Press), doi: 10.1201/b18401DOI
- [10]Kislat, F., Clark, B., Beilicke, M., & Krawczynski, H. 2015, Astropart. Phys., 68, 45, doi: 10.1016/j.astropartphys.2015.02.007DOI
- [11]Mardia, K. V., & Jupp, P. E. 1999, Directional Statistics (John Wiley & Sons), doi: 10.1002/9780470316979DOI
- [12]Mignone, A., Striani, E., Tavani, M., & Ferrari, A. 2013, MNRAS, 436, 1102, doi: 10.1093/mnras/stt1632DOI
- [13]Mizuno, T., Ohno, H., Watanabe, E., et al. 2023, PASJ, 75, 1298, doi: 10.1093/pasj/psad070DOI
- [14]Morii, M., Maeda, Y., Awaki, H., et al. 2024, PASJ, 76, 272, doi: 10.1093/pasj/psae008
- [15]Paszke, A., Gross, S., Massa, F., et al. 2019, in Advances in Neural Information Processing Systems, Vol. 32 (Curran Associates, Inc.), 8024–8035
- [16]Prewitt, J. M. S. 1970, in Picture Processing and Psychoptorics, ed. B. S. Lipkin & A. Rosenfeld (Academic Press), 75–149
- [17]Rybicki, G. B., & Lightman, A. P. 1979, Radiative Processes in Astrophysics (Wiley)
- [18]Shahriari, B., Swersky, K., Wang, Z., Adams, R. P., & de Freitas, N. 2016, Proc. IEEE, 104, 148, doi: 10.1109/JPROC.2015.2494218DOI
- [19]Virtanen, P., Gommers, R., Oliphant, T. E., et al. 2020, Nat. Methods, 17, 261, doi: 10.1038/s41592-019-0686-2DOI
- [20]Weisskopf, M. C., Soffitta, P., Baldini, L., et al. 2022, J. Astron. Telesc. Instrum. Syst., 8, 026002, doi: 10.1117/1.JATIS.8.2.026002DOI
- [21]Wong, J., Mizuno, T., Bucciantini, N., et al. 2024, ApJ, 973, 172, doi: 10.3847/1538-4357/ad6309DOI
- [22]Zhu, C., Byrd, R. H., Lu, P., & Nocedal, J. 1997, ACM Trans. Math. Softw., 23, 550, doi: 10.1145/279232.279236DOI
