Issue 
A&A
Volume 597, January 2017



Article Number  A112  
Number of page(s)  14  
Section  Astronomical instrumentation  
DOI  https://doi.org/10.1051/00046361/201628628  
Published online  12 January 2017 
The coronagraphic Modal Wavefront Sensor: a hybrid focalplane sensor for the highcontrast imaging of circumstellar environments
^{1} Leiden Observatory, Leiden University, PO Box 9513, 2300 RA Leiden, The Netherlands
email: wilby@strw.leidenuniv.nl
^{2} Australian National University, Acton ACT 2601, Canberra, Australia
Received: 2 April 2016
Accepted: 12 October 2016
The raw coronagraphic performance of current highcontrast imaging instruments is limited by the presence of a quasistatic speckle (QSS) background, resulting from instrumental NonCommon Path Errors (NCPEs). Rapid development of efficient speckle subtraction techniques in data reduction has enabled final contrasts of up to 10^{6} to be obtained, however it remains preferable to eliminate the underlying NCPEs at the source. In this work we introduce the coronagraphic Modal Wavefront Sensor (cMWS), a new wavefront sensor suitable for realtime NCPE correction. This combines the Apodizing Phase Plate (APP) coronagraph with a holographic modal wavefront sensor to provide simultaneous coronagraphic imaging and focalplane wavefront sensing with the science pointspread function. We first characterise the baseline performance of the cMWS via idealised closedloop simulations, showing that the sensor is able to successfully recover diffractionlimited coronagraph performance over an effective dynamic range of ±2.5 radians rootmeansquare (rms) wavefront error within 2–10 iterations, with performance independent of the specific choice of mode basis. We then present the results of initial onsky testing at the William Herschel Telescope, which demonstrate that the sensor is capable of NCPE sensing under realistic seeing conditions via the recovery of known static aberrations to an accuracy of 10 nm (0.1 radians) rms error in the presence of a dominant atmospheric speckle foreground. We also find that the sensor is capable of realtime measurement of broadband atmospheric wavefront variance (50% bandwidth, 158 nm rms wavefront error) at a cadence of 50 Hz over an uncorrected telescope subaperture. When combined with a suitable closedloop adaptive optics system, the cMWS holds the potential to deliver an improvement of up to two orders of magnitude over the uncorrected QSS floor. Such a sensor would be eminently suitable for the direct imaging and spectroscopy of exoplanets with both existing and future instruments, including EPICS and METIS for the EELT.
Key words: instrumentation: adaptive optics / techniques: high angular resolution / methods: observational / atmospheric effects
© ESO, 2017
1. Introduction
1.1. Scientific motivation
Since the first direct image of a planetary mass companion around a nearby star was obtained in 2004 (Chauvin et al. 2004), the field of highcontrast imaging has undergone rapid development with the advent of advanced coronagraphic techniques (Mawet et al. 2012) and eXtreme Adaptive Optics (XAO) systems (e.g. Sauvage et al. 2010). This progress continues with the recent first light science of the highcontrast imaging instruments GPI (Macintosh et al. 2014), SPHERE (Beuzit et al. 2008) and ScExAO (Jovanovic et al. 2015), which are detecting and characterising young gaseous exoplanets with ever lower masses approaching that of Jupiter (Macintosh et al. 2015; Bonnefoy et al. 2016) and comprehensively studying planetdisk interactions and the planet formation process (e.g. Avenhaus et al. 2014; Benisty et al. 2015). Such work is also informing the design parameters of the next generation of groundbased ELTclass instruments which aim to characterise rocky exoplanets in the habitable zones of nearby stars. This challenging goal requires final contrast ratios of better than 10^{7} at innerworking angles of the order 10 mas (Guyon et al. 2012), starting with planets orbiting Mdwarf host stars such as the newly discovered Proxima Centauri b (AngladaEscudé et al. 2016). The expected limit on achievable raw imaging contrast with groundbased, coronagraphenabled XAO systems is of the order of 10^{5} for large fieldofview starlight suppression regions (Kasper et al. 2010; Guyon et al. 2012), hence this must be combined with complementary highcontrast techniques such as polarimetric differential imaging (Keller et al. 2010; Perrin et al. 2015) and highdispersion spectroscopy (Snellen et al. 2015), which are already expanding the toolkit of the exoplanet imaging community.
Of the diverse approaches to highcontrast imaging and specifically coronagraphy, the Apodizing Phase Plate (APP) coronagraph (Codona et al. 2006; Kenworthy et al. 2010a; Quanz et al. 2010) is of particular relevance to this paper. This technique uses a pupilplane phase mask to modify the pointspread function (PSF) of the instrument, thereby using destructive interference to create a “dark hole” in the diffracted stellar halo at the location of the planet. This approach makes the APP an extremely versatile coronagraph, allowing simultaneous coronagraphic observation of multiple targets in the same field, providing insensitivity to tiptilt errors, and reducing the pointing tolerances on chopping offsets required for accurate background subtraction at the nearinfrared wavelengths most favourable for observation of young, thermally luminous exoplanets. The recent development of the vectorApodizing Phase Plate (vAPP, Otten et al. 2014), which provides simultaneous 360° coverage around the host star by using circular polarisation beamsplitting to create duplicate copies of the classical APP pattern, has also accompanied significant gains in innerworking angle, with a vAPP operating at radial separations of 1.2–6 λ/D (where λ is the observing wavelength and D is the telescope diameter) installed and available for science observations in MagAO (Morzinski et al. 2014) at the Magellan Clay Telescope (Otten et al. 2016).
These groundbased, XAOcorrected highcontrast imagers are limited by everpresent noncommon path errors (NCPEs); these wavefront aberrations arise due to the presence of differential optics between the AO wavefront sensor and the science focal plane, which may be influenced by slow thermal or mechanical fluctuations. The resulting focalplane quasistatic speckle (QSS) field is coherent on timescales of minutes to hours, and limits the raw performance of most coronagraphs to 10^{4}−10^{5} in contrast, defined here as the 5σ companion detectability limit, over an entire observation period (Martinez et al. 2012). Advanced observation and data reduction algorithms such as the Locally Optimised Combination of Images (LOCI) (Lafrenière et al. 2007) and Principal Component Analysis (PCA) (Soummer et al. 2012; Amara & Quanz 2012) have been used to surpass this limit and achieve detection thresholds of 10^{6} at separations larger than 7 λ/D with SPHERE and GPI (Zurlo et al. 2016; Macintosh et al. 2014). However, due to the impact of quasistatic speckles on the ultimate photon noise limit, in addition to ongoing uncertainties surrounding the influence of postobservation NCPE suppression algorithms on the derived properties of subsequently detected companions (e.g. Marois et al. 2010), it remains preferable to correct these noncommon path errors in real time and thereby return coronagraphic performance to the diffractionlimited regime.
The complete elimination of NCPEs ultimately relies on the principle of focalplane wavefront sensing; only by using the sicence camera as a sensor can the AO loop have a truly common path with observations. Existing focalplane wavefront reconstruction techniques use artificially induced phase diversity (Keller et al. 2012; Korkiakoski et al. 2013) or properties of the speckle field itself (Codona & Kenworthy 2013) to overcome the degeneracies associated with a loss of wavefront spatial resolution and incomplete knowledge of the focalplane electric field. Although there have been some successful onsky demonstrations of these techniques (e.g. Martinache et al. 2014), factors such as computational complexity, invasive modification of the science PSF, and limited dynamic or chromatic range mean that such reconstruction methods have not yet been widely adopted for science observations. To avoid these limitations many highcontrast imaging instruments instead perform periodic offline NCPE calibrations, such as the COFFEE coronagraphic phase diversity algorithm proposed for use in SPHERE (Sauvage et al. 2011), at the cost of temporal resolution and the loss of simultaneity with science observations.
There is therefore an ongoing drive to develop a coronagraphic focalplane wavefront sensor which is able to operate in parallel with science imaging in a noninvasive manner, and provide unbiased realtime compensation of the low spatial frequency NCPEs which correspond to small angular separations in the observed stellar image.
1.2. Holographic optics for focalplane wavefront sensing
The use of computergenerated holograms as a method of focalplane wavefront sensing has been extensively explored in the literature, with specific focus on applications in confocal microscopy (Neil et al. 2000; Booth 2003) and laser collimation (Changhai et al. 2011). This approach is used to generate secondary PSF copies in the science focal plane, which are spatially separated from the main science PSF to avoid mutual interference. In the socalled Holographic Modal Wavefront Sensor (HMWS) these wavefrontsensing PSFs are artificially biased with a set of chosen aberration modes drawn from a suitable basis set (for example the Zernike modes), such that the Strehl ratio of each PSF copy responds linearly to the corresponding aberration mode present in the input wavefront. In this way the sensor performs a modal decomposition of the incoming wavefront into the chosen basis, which may be reconstructed in real time with the intensity measurement of two focalplane photometric apertures per mode.
Fig. 1 Diagram showing the principle of HMWS operation. a) Visual representation of the creation process of a singlemode computergenerated hologram, by analogy with optical exposure. b) Operation of a singlemode hologram in the presence of an aberrating wavefront. Figure adapted from Dong et al. (2012). 

Open with DEXTER 
A modal approach to wavefront sensing has multiple advantages over traditional wavefront sensors as well as other focalplane wavefront sensing techniques, most notably in terms of reduced computational complexity, the fact that the resolution of the reconstructed wavefront is not limited to the spatial resolution of the sensor’s pupil element as with a ShackHartmann sensor, and that a modal wavefront is simple to implement on many current deformable elements. For the science case of highcontrast imaging of exoplanets and circumstellar environments, the HMWS should operate simultaneously with a coronagraph in the science focal plane, to directly retrieve the aberrations that are seen by the starlight suppression system in the instrument. We therefore consider here the promising combination of the HMWS with the APP coronagraph: for the purposes of this paper we shall refer to the resulting optic as the coronagraphic Modal Wavefront Sensor (cMWS). This hybrid approach can be easily implemented since both concepts are phaseonly pupil plane optics, which may be easily multiplexed into a single physical element. The HMWS is however not limited to use with pupil plane phaseonly coronagraphs, provided that the hologram is positioned upstream of any focalplane masking elements in order to transmit the central diffraction core of all holographic PSF copies.
1.3. Content of paper
This paper is divided into the following sections: in Sect. 2 we summarise the underlying mathematics behind holographic modal wavefront sensing, and present the critical factors which must be considered when multiplexing the HMWS with an APP coronagraph. Section 3 shows the results of idealised closedloop simulations and outlines the baseline performance of the sensor for the case of a clear circular aperture. Section 4 presents results from the first onsky implementation of a cMWS sensor at the William Herschel Telescope (WHT) located in La Palma, Spain, including a demonstration of sensitivity to both static and dynamic wavefront errors. In Sect. 5 we draw final conclusions and present goals for ongoing and future work.
2. Theory
2.1. The Holographic Modal Wavefront Sensor
The principle of the HMWS relies on the fact that the phase component φ(x,y) of an arbitrary wavefront may be decomposed into coefficients of a chosen 2D mode basis describing the telescope aperture, for which the complex electric field Ψ(x,y) may be written as (1)where A(x,y) is the telescope aperture function, M_{j}(x,y) is some complete, and ideally orthonormal, mode basis with rms coefficients a_{j} (in radians) and x,y are coordinates in the pupil plane. In this paper we focus exclusively on phaseonly aberrations as these are simpler to implement and correct for, and dominate the total wavefront error in almost all practical cases.
In order to provide full phaseaberration information in a single focalplane intensity image, the sensor uses a computergenerated holographic element to perform an instantaneous modal decomposition and extract the set of coefficients a_{j}, albeit up to a truncated mode order. It is then trivial to reconstruct the wavefront using the set of template modes using Eq. (1), which may then be passed to an adaptive optics system for correction either as a direct command or via the adjustment of reference slope offsets.
2.1.1. Generating holograms
The purpose of the hologram in a HMWS is twofold: firstly it creates secondary PSF copies which are spatially separated from the zeroorder PSF in the science focal plane. Secondly, it adds an artificial bias wavefront independently to each of these PSF copies, such that each responds differently to the input wavefront Ψ. This can therefore be thought of as a system of 2N simultaneous phase diversities chosen to span the desired mode basis, but instead of the normal approach to focalplane phase diversity reconstruction (which typically uses only one diversity and the intensities of all pixels in the PSF), the modal content of the wavefront is extracted in a more direct fashion by measuring only the relative core intensities of all PSF copies.
As illustrated in Fig. 1a, the holographic element is constructed numerically from two independent components which perform the functions described above. Adopting the notation of Dong et al. (2012), the reference wave R_{k}(2)contains a single bias mode M_{k} with an rms aberration strength (in radians) set by the bias strength b_{k}. The object wave O_{k} is given by (3)where the spatial frequencies specify the desired tilted plane wave and thus the coordinates in the focal plane. The holographic phase pattern H_{k}(x,y) for this particular mode is then the interferogram between these two waves, where ^{∗} is the complex conjugate operator and R[] denotes the real component of the complex argument.
It follows from this that the two conjugate terms naturally result in the creation of two wavefront sensing spots which may be treated as the ±1 orders of a diffraction grating, containing equal and opposite bias aberrations ± b_{k}. The first two terms in Eq. (5) are equal to unity and are discarded such that ⟨ H_{k} ⟩ = 0. The behaviour of this hologram in the presence of an aberrated wavefront Ψ is shown graphically in Fig. 1b. The total focalplane intensity is then given by I = ℱ[H_{k}Ψ]^{2}, where ℱ is the Fourier Transform operator in the Fraunhofer diffraction regime. Following from this and Eqs. (1)–(3) and (6), the local intensity distribution I_{k ±} of the pair of biased PSF copies is given by (7)where I_{k ±} correspond to the positively and negatively biased wavefront sensing spots respectively, and a_{j} is the rms error present in the incident wavefront corresponding to mode M_{j}. ∗ denotes the convolution operator. The term δ(x^{′}) is the 2D delta function, with focalplane coordinates deriving directly from the frequency of the carrier wave O_{k}. The second term encompasses the desired sensor response to the aberrated wavefront, with net aberration a_{k} ± b_{k}. The final term represents a fundamental source of intermodal crosstalk as a convolution with all other modes present in the input wavefront, which acts equally on both I_{k ±}; see Sect. 2.1.3 for a full discussion of the impact of this term.
An arbitrary number of holograms may be multiplexed into a single element, allowing the generation of multiple pairs of independently biased PSF copies and hence the simultaneous coverage of many wavefront modes. For simplicity of implementation we now create a phaseonly hologram φ_{h}(x,y) by taking the argument of the multiplexed hologram (8)which is by definition binary as all H_{k} are real from Eq. (6), and is normalised to have a grating amplitude of s radians. Scaling down the amplitude from (0, π) allows direct control over the fractional transmission to the zeroth order, which forms the science PSF. It is assumed here that the holographic PSF copies are located sufficiently far from each other and the zerothorder in the focal plane that there is negligible overlap; if this is not the case there will be additional intermodal crosstalk in the sensor response due to mutual interference, which is independent of that arising from the final term of Eq. (7).
The optimal positioning of WFS copies for minimal intermodal crosstalk is a significant optimisation problem in itself, which will be investigated in future work. As a rule of thumb, each spot should be positioned at least 5–6 λ/D from not only all other first order PSF copies, but also from the locations of all corresponding higherorder diffraction copies and crossterms; see the treatment in Changhai et al. (2011) for full details. In the general case this requires the computation of an appropriate nonredundant pattern, which is outside the scope of this paper, however a circular or “sawtooth” geometry (the latter is shown in Fig. 3) was found to be a suitable alternative geometry for the prototype cMWS.
2.1.2. Sensor response
Following the approach of Booth (2003) it is possible to approximate the sensor response for a_{k} ≪ b_{k} as the Taylor expansion of Eq. (7) about a_{k} = 0, where the onaxis intensity of each PSF copy can this way be expressed as (9)where I_{0} is a multiplicative factor proportional to total spot intensity and is the Fourier integral for an onaxis detector of infinitesimal size. Throughout this paper we adopt the normalised intensity difference between spot pairs as the metric for sensor measurement, equivalent to the “Type B” sensor of Booth (2003). In this case, the sensor response per mode I_{k} is given by (10)If b_{k} can be chosen such that f′′(b_{k}) = 0, this expression becomes linear to 3rd order: for a Zernike basis Booth (2003) find that this occurs for values of ⟨ b_{k} ⟩ = 1.1 rad, while values of ⟨ b_{k} ⟩ = 0.7 rad resulted in maximal sensitivity; we adopt the latter value throughout this work. In principle the improved “Type C” sensor also suggested by Booth (2003), which uses the metric I_{k} = (I_{k +}−I_{k −})/(I_{k +} + γI_{0} + I_{k −}), can yield further improved linearity and suppression of intermodal crosstalk, however the inclusion of additional measurement requirements of an unbiased PSF copy I_{0} and free parameter γ (which must be determined empirically) make this unnecessary for use in a first implementation of the sensor.
2.1.3. Wavefront reconstruction
Final estimates of the mode coefficients a_{k} of the incoming wavefront must then be obtained by calibrating intensity measurements with a cMWS response matrix Ĝ, which provides the nominal scaling factors between I_{k} and a_{k} but is also capable of providing a firstorder correction for intermodal crosstalk via its offdiagonal terms. This matrix is formed from the gradients of the characteristic response curves I_{i}(a_{j}) response curves about I = 0, (11)where G_{ij} is the response of sensor mode i to input wavefront error of mode j. The solution for the set of mode coefficients a of the incoming wavefront is then (12)where a and I are the column vectors comprising sensor response I_{k} and the corresponding wavefront coefficient estimates a_{k} respectively. Note that the standard multiplicative inverse Ĝ^{1} of the interaction matrix is used here, since the interaction matrix is square, highly diagonal and with ondiagonal elements defined so as to have the same sign. It is therefore extremely unlikely that this matrix is degenerate and thus noninvertible, but in such a case the MoorePenrose pseudoinverse Ĝ^{+} (see e.g. Barata & Hussein 2012) may be used as an alternative. Figure 2 shows an illustrative response curve to which this calibration has been applied, showing that the sensor response is linear over the range a_{k} ≲ b_{k} with negligible intermodal crosstalk, beyond which wavefront error is increasingly underestimated as the main assumption of Eq. (9) begins to break down. A turnover in sensitivity occurs at the point a_{k} = 2b_{k} since beyond this the input wavefront error dominates over the differential bias ± b_{k}.
Fig. 2 Response curve of a 6mode Zernike HMWS (b_{k} = 0.7 rad) to defocus error a_{3}Z_{3} (all a_{k ≠ 3} = 0), using photometric apertures of radius r = 1.22λ/D. The diagonal line (red) denotes a perfect sensor with 1:1 correspondence, which is achieved by the HMWS for a_{3} ≲ 0.5. The response of the remaining sensor modes (Z_{4}–Z_{8}, grey) are well constrained about zero over the linear sensing regime, with residual nonlinear intermodal crosstalk behaviour manifesting for a_{3} ≳ 1. 

Open with DEXTER 
Fig. 3 Simulation of a 14mode Zernike cMWS (modes Z_{3}−Z_{16}) combined with an APP optimised for a 10^{6} dark hole with a 180° opening angle. Left: multiplexed pupilplane phase design Ψ_{cMWS} containing the high spatial frequency HMWS binary grating overlaid on the smoother APP design. Right: corresponding focalplane PSF: positively and negatively biased PSF copies are located in the top and bottom half of the image respectively, separated by the white dashed lines. Two example pairs are labelled (defocus, Z_{3} and 45° astigmatism, Z_{5}), illustrating the symmetry of the ± 1 orders about the zeroth order PSF. 

Open with DEXTER 
In addition to calibrating sensor measurements to physical units, Ĝ also performs a linear correction for intermodal crosstalk; this allows the knowledge of the responses of all other spot pairs to be used to infer the correct mode measurement of one particular pair. As denoted by the final term in Eq. (7), this effect occurs via a convolution of the WFS spot I_{k} with all remaining wavefront aberrations M_{j ≠ k} present in the input wavefront. This effect was neglected in the previous section as the convolution term is reduced to a constant multiplicative factor under the onaxis assumption, factoring out in Eq. (10). The theoretical response matrix for any set of orthogonal modes is therefore diagonally dominated and sparse (Booth 2003), but in practice many factors such as use of photometric apertures of nonzeros size, alignment errors or overlap with the wings of other PSF copies or the zeroth order, may result in significantly elevated crosstalk behaviour.
Empirical determination of a full response matrix for each cMWS design is therefore the most robust method of compensating these effects to first order. This process is straightforward and once automated takes only a few minutes to perform: each column of the interaction matrix requires a minimum of two measurements of the normalised intensity vector I, each for different known coefficents a_{k} of the corresponding input wavefront mode applied on the corrective element, in order to fit the gradients of each response curve. This procedure is in principle required only once for any given instrument configuration, however performing regular recalibration before each observation night is feasible and allows the elimination of slow drifts in actuator response or instrument alignment quality.
2.2. Combination with an Apodizing Phase Plate coronagraph
The APP is an optimal coronagraph for use in the cMWS as not only is it a pupil plane phase only optic and thus simple to multiplex with the HMWS, but it also preserves an Airylike PSF core required for production of holographic copies. By contrast, focalplane or hybrid coronagraphs would require the hologram to be located in a pupil upstream of the focalplane mask in order to create the offaxis PSF copies before rejection of onaxis stellar light occurs. The resulting optic may be implemented using the same techniques as for the APP; as either a transmissive optic such as a turned glass phase plate (Kenworthy et al. 2010b) or achromatic liquid crystal retarder (Snik et al. 2012), or via a phaseapodizing Spatial Light Modulator (SLM; Otten et al. 2014).
Consider now the combination of the HMWS presented above with an APP coronagraph into a single optic such that the modification to the complex wavefront Ψ_{cMWS}(x,y) may be described as (13)where φ_{c}(x,y) and φ_{h}(x,y) correspond to the coronagraph and normalised hologram (Eq. (8)) phase patterns respectively.
Figure 3 shows the simulated pupil optic and corresponding PSF of a cMWS coded for the 14 lowest order nontrivial Zernike modes, including an APP with a 180 degree dark hole extending from 2.7−6λ/D, generated using a GerchbergSaxton style iterative optimisation algorithm. The hologram pattern is seen in the pupil as an irregular binary grating overlaid on top of the smooth phase variations of the APP. The wavefront sensing spots can clearly be seen surrounding the dominant central science PSF, with the PSF of each copy formed by the convolution of the characteristic Zernike mode PSF with that of the APP. For illustration purposes a grating amplitude of s = π/ 2 here results in an average normalised intensity difference of −1.8 dex between the peak flux of each WFS copy and the zeroth order PSF, with an effective transmission to the science PSF of 50%. It is however possible to operate the sensor with significantly fainter PSF copies in practice, making 80−90% transmission achievable with respect to the APP alone.
2.3. Impact of multiplexing on mutual performance
As the zeroth order PSF may be considered a “leakage” term of the binary hologram grating, the APP pattern is in principle independent of all wavefront biases which appear in the ±1 diffraction orders. However there are two notable effects which must be considered when multiplexing these two optics, the first of which is that any stray light scattered by the HMWS will fill in the coronagraphic dark hole. As shown in Fig. 4, it was found that the binary holograms generate a nearconstant intensity scattered background at a mean normalised intensity of the order of 10^{5}, irrespective of the specific HMWS or APP designs used. This behaviour is due to the loss of information associated with creating a binary optic from the full complex hologram in Eq. (8). Although a limiting dark hole depth of 10^{5} remains sufficient for a first prototype, it would be possible to compensate for this effect by reoptimising the APP in the presence of the scattered background.
The second effect of the multiplexing process is that, as can be seen from Eq. (13), the APP phase pattern introduces a set of static wavefront errors which must be disregarded by the HMWS. This can be achieved by adding static reference slope offsets to to Eq. (12) in a similar manner to existing NCPE correction routines (e.g. Sauvage et al. 2011), such that (14)where a_{c} is the set of coefficients of φ_{c} in the sensing mode basis. This must be determined independently from Ĝ to avoid degeneracy with static instrumental wavefront errors, either by projecting the APP onto the sensing mode basis a_{c,i} = φ_{c}(x,y)·M_{i}(x,y), or by comparison with calibration data containing only the nonmultiplexed HMWS component.
Fig. 4 Contrast curves for the APP coronagraph presented in Fig. 3, with (blue) and without (green) the HMWS hologram. The shaded regions denote the 1sigma variance limit of residual structure at each radius, azimuthally averaged over a 170 degree region corresponding to the dark hole contrast floor. 

Open with DEXTER 
2.4. Impact of structured telescope apertures
It is important to note that throughout this paper the cMWS is evaluated for use with an unobscured circular aperture, however it must also be applicable to more complicated amplitude profiles featuring central obscurations, support spiders, and mirror segmentation. If no modifications to the cMWS design are made, any aperture modifications will degrade the orthogonality of the chosen mode basis and thus lead to increased intermodal crosstalk. Fortunately this is not considered to be a limiting factor of the cMWS, as the effect can be effectively eliminated by performing a reorthogonalisation of the chosen mode basis using the known aperture function, for example by using a simple GramSchmidt procedure (see e.g. Cheney & Kincaid 2009). This approach has now been verified during a more recent observing campaign at the WHT, the details of which will be the subject of a future work. In the case where the aperture function contains significant structures which are not azimuthally uniform, such as especially thick telescope spiders or mirror segmentation gaps, this procedure will be most effective when operated in a pupilstabilised observation mode. This will allow the telescope aperture function to remain consistent with that of the reorthogonalised sensing basis for the duration of each observation, however it was seen that in the case of the WHT pupil the 1.2 m circular central obscuration was in practice the only significant structure.
It is in principle also possible to develop the cMWS as a cophasing sensor for segmented mirrors, for which the ideal sensing basis would instead consist of differential piston, tip and tilt modes which directly match the degrees of freedom of each individual mirror segment. That being said, the cMWS is not an ideal choice of sensor for cophasing large future segmented telescopes such as the European Extremely Large Telescope (EELT) or the Thirty Meter Telescope (TMT), principally because the sensing basis would need to consist of an unreasonably large number of modes (2394 in the case of the EELT) in order to fully describe all possible phasing errors. While it may be possible to achieve this by sequentially correcting with multiple cMWS designs each containing a subset of the possible modes, such applications are much more suited to telescopes with significantly fewer mirrors where the calibration may be performed for all segments simultaneously, such as the W. M. Keck Observatory in Hawaii, or the Giant Magellan Telescope (GMT).
3. Idealised performance simulations
To analyse the baseline performance of the multiplexed sensor, we consider the ideal case where the aberrating wavefront consists entirely of modes to which the HMWS is sensitive. To demonstrate the interchangeability of the sensor mode basis, two distinct sensor designs are considered, which for ease of comparison both utilize six sensing modes each with bias b_{k} = 0.7 and an APP dark hole of radial extent 2.7−6λ/D. Sensor A encodes the first six nontrivial Zernike modes (Defocus Z_{3} to Trefoil Z_{8}) while Sensor B contains six sinusoidal 2D Fourier modes of the form cos((n_{x}X + n_{y}Y) + c), where c is equal to either 0 or π, optimised to probe three critical locations at radial separation 3.5λ/D within the APP dark hole. The diffractionlimited PSFs of these sensors can be seen in Fig. 5b, with PSF copies showing the characteristic PSF of each sensing mode. Note that the APP of the Zernike cMWS is optimised for a 180° opening angle while the Fourier cMWS contains an APP optimised for 90°, which explains the differences between the two diffractionlimited zerothorder PSFs.
Aberrating wavefronts are generated with equal rms wavefront error a present in each mode, giving a total rms wavefront error for a perfectly orthogonal 6mode basis. In order to probe the upper limit of closedloop convergence a is varied between 0.1 and 1.5 radians rms per mode, significantly exceeding the nominal ± 0.5 radians rms per mode linear range of the sensor. The response matrix is constructed according to Eq. (11) from a simulated calibration dataset, and compensation for the APP mode coefficients applied as per Eq. (14). Photometric apertures of radius r_{s} = 1.22λ/D are applied to each PSF copy for flux measurement, which has been shown to provide optimal sensitivity for small b_{k} (Booth 2003). Closedloop correction is then achieved by direct phase conjugation using a perfect simulated deformable mirror with phase , with the closedloop gain g left as a free parameter. Convergence is taken to be achieved at iteration N_{i} where the total wavefront error a_{r} is reduced below 10^{2} radians rms, which is seen to correspond closely to the point at which the diffractionlimited PSF is recovered.
The panels of Fig. 5 show one example of closedloop convergence for both sensors, with initial wavefront error of a_{k} = 1.0 radians rms per mode (and thus total wavefront error σ_{φ} = 2.45 radians rms) and a closedloop gain g = 0.8. It can be seen that despite this large initial wavefront error both sensors efficiently recover diffractionlimited APP performance within eight iterations, with residual wavefront error continuing to decline logarithmically towards the numerical noise threshold after nominal convergence is achieved. In this case the remaining intensity structure in the dark hole is limited purely by the HMWS scattered light background for each APP design. It is unclear exactly why the Fourier mode basis exhibits significantly faster convergence in this example, but a probable explanation is that the large coma aberration present as part of both APP designs pushes the Zernike mode sensor into the nonlinear regime and thus lowers the initial measurment accuracy of this mode, whereas this same aberration is distributed more evenly in the Fourier mode basis.
Fig. 5 Example closedloop performance for a 6mode Zernike (left column) and Fourier (right column) mode cMWS for g = 0.8. a) N_{i} = 0 aberrated PSFs, with a_{k} = 1.0 radians rms per mode. b) Diffractionlimited PSF after N_{i} closedloop iterations required to achieve convergence. PSF copies corresponding to each mode bias are labelled Z_{n ±} for Zernike modes and F_{nS/C ±} for Fourier modes, where the index S/C denote the sine and cosine mode phases respectively, and mode number corresponds to the circled regions of influence in the APP dark hole. The white circles overlaid on the Z_{4} ± modes indicated the r = 1.22λ/D region of interest used for wavefront measurement. Note also the differing angular extent of each APP, which cover 180° and 90° for the Zernike/Fourier designs respectively. c) Azimuthallyaveraged residual intensity plots corresponding to the PSFs of panels a) (green) and b) (blue); shaded regions denote 1σ variance averaged over the APP dark hole. d) Science PSF Strehl ratio (black diamonds) and residual rms wavefront error (red squares) as a function of iteration number N_{i}. Vertical dashed lines indicate the point of convergence. 

Open with DEXTER 
Figure 6 characterises in detail the convergence efficiency of the Zernike mode sensor by considering a wide variety of closedloop gains g and input rms wavefront errors a_{r}. Both panels show that the critical failure point of this sensor lies at a_{k} = 1.1 radians rms per mode and is independent of gain value. Below this, convergence speed is purely gainlimited for g < 0.8 and g = 1 provides the most efficient convergence for all a_{k}, ranging from 2 < N_{i} < 7 iterations and with final N_{i} = 20 solutions consistent with the diffractionlimited wavefront at the level of numerical noise. This robust highgain convergence behaviour stems from systematic underestimation of the wavefront outside the linear range (see Fig. 2), preventing oscillatory instabilities from occurring. The rapid breakdown in convergence above a_{k} = 1.1 happens when the contribution of nonlinear intermodal crosstalk between 6 modes of equal a_{k} becomes comparable to the individual sensor response, enabling sign errors and thus irreversible divergence. The equivalent surface plots for the Fouriertype sensor was seen to be morphologically identical, confirming that the HMWS is capable of operating with any mode basis that is sufficiently complete with respect to the power spectrum of wavefront error present in the system.
Fig. 6 Convergence properties of the Zernike cMWS shown in Fig. 5 as a function of initial rms wavefront error per mode, a_{k}, and closedloop gain, g. Left: number of iterations required until convergence N_{i}(a_{r}< 10^{2}). A value of N_{i} = 20 indicates that convergence was not achieved within the allowed 20 iterations. Right: residual wavefront error a_{r} after the final iteration. 

Open with DEXTER 
It is important to note that the term “idealised” here refers to the fact that no artificial noise sources such as readout or photon noise are included in these simulations, and that the underlying light source is purely monochromatic and pointlike in nature. Such factors are dealt with during the onsky implementation of the cMWS presented in Sect. 4 of this paper; in this section we instead aim to demonstrate that fundamental factors such as the multiplexing process and intermodal crosstalk do not limit the final convergence of the closedloop correction process. This explains why the residual wavefront error as presented in Fig. 5 reaches the numerical noise limit in both examples; this will not be the case in practice as noise sources will result in sporadic random errors in measuring the wavefront coefficients. In the absence of systematic errors this can be expected to stall the convergence process at the level of ~10^{1} radians rms based on the error bars derived in Sect. 4, although this ultimately depends upon the signaltonoise ratio (SNR) of individual WFS spots on a targetbytarget basis. As presented in Sect. 4.3, use of a broadband source turns the holographic PSF copies into radially dispersed spectra, which can be useful in its own right for wavelength selection of the wavefront estimates.
4. Onsky demonstration
4.1. Instrument design
To implement the sensor onsky at the William Herschel Telescope, we used a setup based around a BNS P512 reflective Spatial Light Modulator (SLM) as shown in Fig. 7, similar to that described in Korkiakoski et al. (2014). This was operated with 250 pixels across the pupil diameter, oversampling the cMWS designs by a factor of two in order to ensure the sharp boundary regions of the HMWS hologram are accurately represented. Use of an SLM allows the rapid testing of a wide variety of designs without the need to manufacture individual custom optics, but has the disadvantage of allowing only passive measurement of wavefront errors: the response rate of the SLM was seen to approach 1 Hz at times and as such is not a suitable active element for realtime phase correction. The SLM phase response was calibrated at the HeNe 633 nm line via the differential optical transfer function (dOTF) wavefront reconstruction method of Korkiakoski et al. (2013), at which the SLM is able to produce a maximum stroke of 1.94π radians. This stroke limitation to less than 2π is unimportant as all chosen designs have peaktopeak phase values of less than π radians. The sensor was then operated onsky with both narrowband (650 nm, Δλ = 10 nm) and broadband (BesselR 550–900 nm) filters, with the latter possible despite strong chromatic behaviour of SLM devices (see Sect. 4.3 for further discussion). A highframe rate Basler piA640210gm CCD camera was used to record the focal plane including the holographic WFS spots at a cadence of 50 Hz, comparable to atmospheric seeing timescales.
It was necessary to limit onsky wavefront error to within the dynamic range of the sensor, which in the absence of an AO system was achieved by stopping down the WHT aperture. For this purpose an offaxis circular pupil stop was used to create an unobscured subaperture of effective diameter 42.3 cm, positioned in the pupil so as to be free of telescope spiders over the elevation range 30deg to zenith. This aperture size was chosen based on the expectation values of loworder Zernike coefficients of a pure Kolmogorov phase screen, which are constrained to 0.1 ≲ a_{k} ≲ 0.5 radians rms for the 0.7′′–2.5′′ range of seeing conditions typical of La Palma.
Two calibration images of a 6mode Zernike HMWS with uniform bias value b = 1.5 radians rms at the calibration wavelength are shown in Fig. 8, for a flat wavefront and for 1.5 radians rms of defocus error introduced on the SLM. For ease of illustration, a grating amplitude of s = 3π/ 4 radians results here in an effective Strehl ratio of 24% compared to the unaberrated PSF. This illustrates clearly the sensor response: since no APP is applied in this instance, the holographic copy which is biased with a focus aberration of equal amplitude but opposite sign (b_{k} = −a_{k}) collapses to the Airy diffraction function, while the conjugate WFS spot gains double the aberration. It should be noted that in addition to three faint filter ghosts below the zeroth order PSF, there is a significant ghost located at approximately 3λ/D which proved impossible to eliminate via optical realignment. This is attributed to unwanted reflection from the SLM glass cover plate which thus bypasses the active surface; a conclusion which is supported by its presence adjacent to both the central PSF and each filter ghost but not diffracted PSF copies, plus its independence of SLMinduced defocus.
Fig. 7 Diagram illustrating setup used at the WHT. Interchangeable pupil masks allowed the use of telescope subapertures with effective diameters ranging from 0.2 m to 0.8 m, to control relative aberration strengths in the absence of a classical AO system. 

Open with DEXTER 
An insitu calibration of the HMWS response matrix was obtained by sequentially introducing aberrations a_{k}M_{k} with the SLM. It was found however that this solution contained linear intermodal crosstalk components (offdiagonal terms in Ĝ) on the same order as sensor linear response. This effect is not seen in simulations nor indeed in uncalibrated normalised intensity data when the defocus error is generated with an external source (see the following section). The effect is therefore attributed to errors in accurately recreating Zernike modes with the SLM due to uncontrolled spatial variations in SLM voltagetophase actuation response across the pupil, which degrades the mode orthogonality. We therefore rely on simulated response matrix solutions for the following analysis of onsky sensor data.
4.2. Characterising HMWS onsky response
To the authors’ knowledge the HMWS has never before been implemented onsky: the first and most important test was therefore to verify the onsky response of the HMWS alone to known, static wavefront errors under realistic observing conditions. This is particularly important with respect to the ultimate goal of NCPE sensing, as the cMWS must be able to accurately recover coherent errors from underneath a dominant incoherent atmospheric speckle foreground. For this purpose, narrowband 650 nm observations were made of Arcturus (m_{R} = −1.03) using the HMWS design of Fig. 8 while scanning over a range of focus positions with the WHT secondary mirror, thereby inducing defocus error ranging between ± 2 radians rms in a controlled manner. 60 s worth of 20 ms exposures were stacked for each focus position in order to increase the signaltonoise ratio and sufficiently average out atmospheric variations. The core intensity measurements of each WFS spot were then extracted using a numerical photometric aperture mask comprising a set of circular apertures of radius 1.22λ/D, aligned with the centroid location of each WFS spot. The resulting set of intensity measurements was then converted to mode coefficient estimates a_{j} using Eqs. (10) and (14).
Fig. 8 633 nm HeNe laser calibration data illustrating the response of a 6mode HMWS to controlled wavefront aberrations. a) PSF with no induced wavefront error and b) with 1.5 rad of defocus error applied via the SLM, showing the asymmetric response of the Z_{3} ± defocus WFS spot pair, indicated topright/bottomleft. Filter and SLM reflection ghosts are present below the zerothorder PSF, though these are sufficiently separated from the PSF copies to ensure no interference with HMWS performance. 

Open with DEXTER 
Figure 9 shows the calibrated sensor response of all modes as a function of WHT focus position (mm), and the corresponding input defocus error a_{3} in radians rms. The mmtoradians rms scaling factor was obtained by leastsquares fitting of the theoretical defocus response curve of Fig. 2 (plotted here in black) to the defocus data, which is seen to be closely consistent for input a_{3}< 1.5 radians rms. It is unclear why the final two points are underestimated with respect to the theoretical curve, but even assuming this is a real effect, the additional wavefront underestimation in this nonlinear regime would have little impact on closedloop sensor performance. The error bars on each curve represent the uncertainty in frame alignment, specifically the 1σ standard deviation of sensor measurements associated with the complete set of possible 1 pixel translational and rotational offsets of the photometric aperture mask, which was seen to be the practical limit on frame alignment accuracy. It was found that this source of uncertainty dominates over photon and readout noise when analysing seeingaveraged images; this places a limit on the precision of cMWS wavefront retrieval in the highSNR regime of 0.04 radians per mode, or equivalently 0.1 radians rms total wavefront error, a value obtained from the mean derived 1σ error bar of all six sensing modes where the input focus error is within the a_{3} = ± 1 radian rms dynamic range of the sensor. Being azimuthally symmetric, the defocus mode is seen to be significantly more robust against small (x′, y′) offsets or rotations of the photometric aperture mask compared to other modes, even for large wavefront errors. Stability against positioning and/or tiptilt errors is therefore a worthwhile consideration in choice of mode basis for future sensor designs.
Fig. 9 Onsky response of the Zernike HMWS sensor as a function of WHT secondary mirror focus position (mm) and corresponding induced defocus error a_{k} (radians rms). Top: response of the Z_{3} defocus mode. Overplotted in black is the theoretical a_{3} response curve of Fig. 2, seen to correspond closely to sensor measurements over the the range a_{3}< 1.5 radians rms. Bottom: response of nondefocus modes k> 3. Error bars correspond to uncertainties in subpixel centering accuracy (photon and CCD noise sources are negligible). Systematic trends in the nondefocus modes are attributed to real, instrumentally induced wavefront aberrations upstream of the pupil mask. 

Open with DEXTER 
It can be seen that the response curves of the other sensed modes depart significantly from the wellbehaved offdiagonal terms in Fig. 2; in particular the astigmatism mode Z_{5} displays strongly quadratic response as a function of defocus error, which cannot be corrected using a linear interaction matrix and may therefore lead to closedloop instabilities where large focus errors are present. This behaviour indicates that either the true sensor response is not fully characterised by the simulated interaction matrix, in which case experimental calibration is necessary, or that the injected wavefront error contains variable components other than pure defocus. This second hypothesis has been further explored because of the complexities associated with using the WHT secondary mirror as the source of injected focus error when we are sampling only an offaxis subpupil, as illustrated in the “WHT Pupil Mask” inset of Fig. 7. It was found in simulations that the observed crosstalk behaviour can be recreated if there are also static higherorder wavefront errors present upstream of the pupil mask, created for instance by small misalignments of the upstream lens or polariser. These aberrations are not orthogonal on the Zernike basis of the sensor and can mix with the variable focus error when sampled in this way, creating a spectrum of focusdependent higherorder Zernike aberrations which cannot be explained with the modes Z_{0−3} alone due to symmetry arguments. In this case it was found that adding an upstream wavefront error of 0.2 radians rms of Z_{4} (astigmatism of the opposite orientation) results in a Z_{5} response curve which is morphologically similar to that shown in the lower panel of Fig. 9. Lowamplitude variations seen in the coma and trefoil response curves are more difficult to recreate using static errors of the same order and may therefore be due to other factors, but it is expected that the principle remains the same when including additional Zernike mode orders Z_{k> 8}. By applying the correct set of upstream instrumental aberrations in this way it may be possible to account for the complete discrepancy between the nondefocus mode response of Fig. 2 and the lower panel of Fig. 9. However, due to the complexity of this effect a comprehensive treatment is beyond the scope of this paper, which is in any case specific to the nonstandard pupil apodisation used in this setup and is therefore not expected to be present in subsequent observing campaigns.
It is sufficient to note that the defocus response is consistent with theoretical predictions, while the majority of the remaining sensor behaviour can be explained by unintentionally introduced additional instrumental wavefront errors and not to fundamental crosstalk effects, which appear to be accurately compensated by the theoretical response matrix calibration procedure. This confirms that the sensor is able to accurately recover (quasi)static errors underneath a dominant fluctuating atmospheric speckle foreground, simply by integrating up to the desired timescale.
4.3. Broadband wavefront sensing
It is also important to characterise the broadband performance of the cMWS; a major limitation of focalplane phaseretrieval algorithms such as phase diversity is that they only work effectively in the monochromatic case (Korkiakoski et al. 2014). By contrast, the HMWS contains no such fundamental limitations; the normalised difference metric is independent of variations in spectral transmission T(λ), while the natural λdependence of the radial position of diffracted holographic PSF copies raises the intriguing possibility of performing wavelengthresolved wavefront sensing. Spatial light modulators also typically exhibit strong chromatic response variations away from the calibration wavelength (e.g. Spangenberg et al. 2014), but since all wavefront bias information is encoded into spatial variations in the binary hologram, only the effective grating amplitude s and thus T(λ) may vary with wavelength rather than bias b_{k}. Altogether, the cMWS is in principle capable of delivering unbiased estimates of the wavefront coefficients a_{k} in radians rms for arbitrarily wide spectral bands, at a spectral resolution set by the diffraction limit of the monochromatic telescope PSF.
Figure 10a shows the broadband onsky PSF of a cMWS including the same 6mode Zernike HMWS as in Fig. 8, operated with a standard 50% bandwidth BesselR filter. To test the full cMWS concept, this design also includes a 180 degree APP as in Fig. 3; in this seeinglimited image the dark hole is located in the top half of the PSF, although it is obscured by residual speckles and chromatic dispersion. In Fig. 10b it can be seen that the chromatic response of each mode is broadly consistent over the FWHM transmission range of 580–750 nm. A residual focus error can be clearly seen from these onsky observations, such that this plot corresponds to the wavelength dimension of a_{3} ≈ −0.3 rad in Fig. 9. This mode also displays the a_{k} ∝ 1 /λ scaling expected from physical wavefront errors.
Fig. 10 a) Broadband onsky PSF of a cMWS incorporating the HMWS of Fig. 8, showing 1 /λ radial dispersion of PSF copies. The location of the APP dark hole at λ = 633 nm is illustrated by the shaded region, spanning 2.7−6λ/D, although this is not directly visible in the stacked image data. b) Chromatic response of each mode, binned to Δλ = 20 nm wavelength intervals; colours correspond to the modes of Fig. 9. The 633 nm calibration wavelength is shown by the vertical dashed line, and the mean spectral transmission T(λ) is shown in the upper panel. Defocus Z_{3} (green) shows indications of 1 /λ scaling, illustrated by the diagonal dashed line. 

Open with DEXTER 
Confirmation of a biasfree spectral response allows boosting of singleframe SNR by binning the 580–750 nm spectrum in the radial and hence wavelength dimension, making quasirealtime wavefront sensing, with exposure times t_{exp} approximately equal to the NCPE coherenct timescale τ_{φ}, a possibility. Wavelengthresolved wavefront sensing may also be achieved by using appropriately calibrated photometric subapertures along the dispersed wavefront spectra, and will be considered further in future work. Such information may be useful for optimisation of the broadband control of existing AO systems or for nextgeneration instrument concepts consisting of of multiple corrective elements for specific wavelength ranges.
Fig. 11 a) Time series of singleframe rms wavefront error σ_{φ} as measured by i) the central PSF Strehl ratio under the Maréchal approximation (σ_{S}, green) and ii) calibrated cMWS measurements (σ_{WFS}, blue). Slow variations in seeing quality seen in σ_{S} are visibly traced by the sensor. b) Correlation plot between the two independent estimates of rms wavefront error, with colour indicating point density. The solid black line denotes σ_{S}/σ_{WFS} = 0.45 as is expected theoretically from Noll (1976), which corresponds well to the core regions of the correlation (1.45 < σ_{S} < 1.65). The outer regions have a significantly shallower gradient (red), distorted by various systematic error sources. 

Open with DEXTER 
4.4. Realtime atmospheric wavefront measurements
Application of the broadband sensor provided sufficient SNR for partial wavefront retrieval from individual 20 ms frames. Figure 11a shows two independent estimators of rms wavefront error σ_{φ} for a subset of frames: cMWS measurements (lower, blue curve) and from Strehl ratio measurements of the science PSF under the Maréchal approximation (upper, green curve). Despite significant noise in the measurements, the cMWS measurements trace slow trends in image Strehl ratio on timescales > 1 s, associated with changing seeing conditions. Figure 11b shows the resulting correlation between these two frame quality estimators for the full 20 790 frame dataset spanning 10 min of observation, with a Pearson correlation index of ρ = 0.50. Frames with I_{k} > 1 were rejected as such measurements are obviously unphysical: such events are rare (<1% of total frames affected) and attributed to cosmic ray impacts and residual hot/cold pixels. Additional confirmation that the cMWS is tracing the atmospheric wavefront is provided by the respective mean wavefront error estimates: ⟨ σ_{φ,cMWS} ⟩ = 0.656 ± 0.001 and ⟨ σ_{φ,S} ⟩ = 1.567 ± 0.001 radians rms, such that on average the cMWS senses approximately 42% of the total wavefront error once known static errors have been subtracted. This is notably consistent with what is expected for pure Kolmogorov statistics as presented in Noll (1976), where 45% of the total wavefront error for Z_{k> 3} is contained in the first 6 nontrivial modes; this relation σ_{S}/σ_{WFS} = 0.45 is denoted by the solid black line in Fig. 11b. Ideally the two independent estimates should correlate along this relation for all values of wavefront error, but although there is reasonable agreement about the mean σ_{WFS} = 0.65 radians rms, it can be seen that the correlation is significantly shallower for outlying points beyond σ_{WFS}> 0.8 radians rms; here the best fit line, plotted in red, clearly does not intersect the origin. This may be attributed to crosstalk with highorder unsensed modes allowing the sensor to pick up some additional wavefront error to that contained purely in the 6mode basis, or to systematic effects such as sensor saturation, making these extreme wavefront estimates unreliable. However, it is important that the majority of sensor measurement points fall close to the theoretically expected relation, where sensor performance is expected to be most reliable.
The ultimate goal of this process is to reconstruct the instantaneous wavefront in each frame. As may be anticipated from Fig. 11a however, such wavefronts were seen to be dominated by frametoframe noise. In order to assess the extent to which the independent mode coefficient measurements are degraded, we plot the modal power spectrum of the full dataset in Fig. 12 and contrast with that expected from Kolmogorov turbulence as rescaled to a sixmode basis. It can be seen that although there is some morphological similarity which indicates a decreasing power spectrum, the amplitude of individual modes is significantly more consistent with a flat spectrum. It is possible that the true seeing statistics are not Kolmogorov in nature, however it is difficult to justify a discrepancy of such size in this manner. Instead, it is assumed that this is due to the mixing effect of crosstalk with higherorder unsensed modes which cannot be accounted for by the response matrix; only in this way is it possible to preserve the total wavefront variance as discussed above. The immediate solution for residual atmospheric wavefront error sensing is to increase the number of modes to encompass a larger fraction of the total power spectrum. For the application to NCPE correction of a dark hole the problem is made simpler as the power spectrum is expected to be dominated by loworder components, which may be accessed by integrating so as to sufficiently average out the unwanted highorder atmospheric errors.
Due to the dominance of frametoframe noise at a cadence of 50 Hz we therefore draw only limited conclusions regarding the potential of the cMWS for realtime wavefront correction in this instance, however the successful retrieval of total wavefront error σ_{φ} at this cadence is already a promising result for such a preliminary test. More important is that, as shown in Fig. 9, the cMWS is capable of recovering known static aberrations to a precision of approximately 0.04 radians rms per mode with oneshot measurements. This is performed in the presence of a dominant and fluctuating atmospheric speckle foreground, in direct parallel with the ultimate goal of direct NCPE sensing.
Fig. 12 Modal power spectrum of onsky broadband cMWS measurements as a function of Zernike mode order. The theoretical spectrum corresponding to purely Kolmogorov statistics (Noll 1976) is overplotted in black, while the horizontal dashed line denotes a purely flat 6mode power spectrum. 

Open with DEXTER 
5. Discussion and conclusions
We have demonstrated via idealised closedloop simulations and a first onsky implementation that the coronagraphic Modal Wavefront Sensor (cMWS) is a promising new focalplane sensor for highcontrast imaging, highly suited to correction of NonCommon Path Errors (NCPEs) and with additional potential as a highcadence broadband wavefront sensor. The major advantage of the cMWS over prior focalplane reconstruction algorithms is that the measurement process requires no invasive modification of the science PSF, as is required for phase diversity approaches; this allows the correction loop to be effectively decoupled from science observations.
The performance of the cMWS is not limited by the process of multiplexing the APP coronagraph and Holographic Modal Wavefront Sensor (HMWS) constituents or structures in the telescope aperture function, but by residual intermodal crosstalk with higherorder unsensed modes present in the wavefront. This can be addressed by using a larger sensing mode basis than the 6mode cMWS prototype presented in this work, such that a larger fraction of the total wavefront error is encompassed by the sensor. The correction order of the cMWS is currently limited not by fundamental factors, but by the practical consideration of science PSF throughput. This may be optimised with respect to the signaltonoise ratio of the holographic PSF copies and hence observational target brightness, however the practical limit in most cases is expected to be 20–30 modes. While expected to be sufficient for NCPE correction, this is too small to allow the removal of a classical AO sensor from the instrument design. It is however possible to avoid such limitations for applications which require only a small but extremely wellcorrected field of view, such as spectroscopic characterisation of known exoplanets. We have already discovered that it is possible to manufacture APP coronagraphs which reach simulated contrasts of 10^{10} in dark regions a few square λ/D in size (Keller et al., in prep.). These regions contain few degrees of freedom in the electric field such that they may be fully corrected with only a small basis of optimised modes.
An additional advantage of the cMWS is its computational simplicity, requiring only the relative photometry of the diffraction cores of 2N_{mode} holographic PSF copies and a small number of linear computations for the calibration process; most importantly it does not require any Fourier transforms. This is unimportant for NCPE sensing due to the slow timescales involved, but an additional application of the sensor is then to the challenge of extremely highcadence sensing, for the control of a limited number modes at kHz frequencies. Such an approach is expected to lead to significant improvements in wavefront quality over conventional AO update frequencies (Keller et al., in prep.). As a phaseonly sensor, the onsky performance of the cMWS will always be fundamentally limited by instrumental amplitude errors. This may be overcome by combining it with other focalplane sensing techniques, such as electric field conjugation Give’on et al. (2006), which are capable of reconstructing the full electric field but which lack the dynamic range to perform effectively by themselves in groundbased AO systems. The improved “Fast and Furious” algorithm of Korkiakoski et al. (2014) also lends itself to use with the cMWS, which naturally provides a large number of known phase diversities in the holographic PSF copies.
Future work will focus on implementing the optimised cMWS behind a 97actuator AO system with a classical ShackHartmann WFS, previously used with the ExPo highcontrast imaging polarimeter (Rodenhuis et al. 2011). In addition to providing a significant boost in SNR, this will allow the cMWS to be tested in a realistic closedloop environment which reflects the ultimate goal of realtime NCPE control. If successful, such a system would be ideal for inclusion into the nextgeneration of highcontrast imaging instruments such as EPICS for the EELT (Kasper et al. 2010), for the detection and characterisation of rocky exoplanets in the habitable zones of nearby stars.
Acknowledgments
The authors would like to thank the anonymous referee, whose comments have helped to significantly improve this paper. Our thanks also to F. Riddick and the WHT operations team for assistance during onsky implementation of the cMWS. This research is funded by the Nederlandse Onderzoekschool Voor Astronomie (NOVA).
References
 Amara, A., & Quanz, S. P. 2012, MNRAS, 427, 948 [NASA ADS] [CrossRef] [Google Scholar]
 AngladaEscudé, G., Amado, P. J., Barnes, J., et al. 2016, Nature, 536, 437 [NASA ADS] [CrossRef] [PubMed] [Google Scholar]
 Avenhaus, H., Quanz, S. P., Schmid, H. M., et al. 2014, ApJ, 781, 87 [NASA ADS] [CrossRef] [Google Scholar]
 Barata, J. C. A., & Hussein, M. S. 2012, Brazilian J. Phys., 42, 146 [NASA ADS] [CrossRef] [Google Scholar]
 Benisty, M., Juhasz, A., Boccaletti, A., et al. 2015, A&A, 578, L6 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Beuzit, J.L., Feldt, M., Dohlen, K., et al. 2008, in Groundbased and Airborne Instrumentation for Astronomy II, Proc. SPIE, 7014, 701418 [CrossRef] [Google Scholar]
 Bonnefoy, M., Zurlo, A., Baudino, J. L., et al. 2016, A&A, 587, A58 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Booth, M. J. 2003, Proc. SPIE, 5162, 79 [NASA ADS] [CrossRef] [Google Scholar]
 Changhai, L., Fengjie, X., Shengyang, H., & Zongfu, J. 2011, Appl. Opt., 50, 1631 [NASA ADS] [CrossRef] [Google Scholar]
 Chauvin, G., Lagrange, A.M., Dumas, C., et al. 2004, A&A, 425, L29 [NASA ADS] [CrossRef] [EDP Sciences] [MathSciNet] [Google Scholar]
 Cheney, E., & Kincaid, D. 2009, in Linear Algebra: Theory and Applications (Jones and Bartlett Publishers) [Google Scholar]
 Codona, J. L., & Kenworthy, M. 2013, ApJ, 767, 100 [NASA ADS] [CrossRef] [Google Scholar]
 Codona, J. L., Kenworthy, M. A., Hinz, P. M., Angel, J. R. P., & Woolf, N. J. 2006, Proc. SPIE, 6269, 62691 [CrossRef] [Google Scholar]
 Dong, S., Haist, T., Osten, W., Ruppel, T., & Sawodny, O. 2012, Appl. Opt., 51, 1318 [NASA ADS] [CrossRef] [Google Scholar]
 Give’on, A., Kasdin, N. J., Vanderbei, R. J., & Avitzour, Y. 2006, J. Opt. Soc. Am. A, 23, 1063 [NASA ADS] [CrossRef] [Google Scholar]
 Guyon, O., Martinache, F., Cady, E. J., et al. 2012, in Adaptive Optics Systems III, Proc. SPIE, 8447, 84471 [CrossRef] [Google Scholar]
 Jovanovic, N., Martinache, F., Guyon, O., et al. 2015, PASP, 127, 890 [NASA ADS] [CrossRef] [Google Scholar]
 Kasper, M., Beuzit, J.L., Verinaud, C., et al. 2010, Proc. SPIE, 7735, 77352 [CrossRef] [Google Scholar]
 Keller, C. U., Schmid, H. M., Venema, L. B., et al. 2010, in Groundbased and Airborne Instrumentation for Astronomy III, 7735, 77356 [Google Scholar]
 Keller, C. U., Korkiakoski, V., Doelman, N., et al. 2012, in Adaptive Optics Systems III, Amsterdam, 8447, 844721 [Google Scholar]
 Kenworthy, M., Quanz, S., Meyer, M., et al. 2010a, The Messenger, 141, 2 [NASA ADS] [Google Scholar]
 Kenworthy, M. A., Quanz, S. P., Meyer, M. R., et al. 2010b, in Groundbased and Airborne Instrumentation for Astronomy III, Proc. SPIE, 7735, 773532 [CrossRef] [Google Scholar]
 Korkiakoski, V., Doelman, N., Codona, J., et al. 2013, Appl. Opt., 52, 7554 [NASA ADS] [CrossRef] [Google Scholar]
 Korkiakoski, V., Keller, C. U., Doelman, N., et al. 2014, Appl. Opt., 53, 4565 [NASA ADS] [CrossRef] [Google Scholar]
 Lafrenière, D., Marois, C., Doyon, R., Nadeau, D., & Artigau, É. 2007, ApJ, 660, 770 [NASA ADS] [CrossRef] [Google Scholar]
 Macintosh, B., Graham, J. R., Ingraham, P., et al. 2014, Proc. Nat. Acad. Sci., 111, 12661 [NASA ADS] [CrossRef] [Google Scholar]
 Macintosh, B., Graham, J. R., Barman, T., et al. 2015, Science, 350, 64 [NASA ADS] [CrossRef] [Google Scholar]
 Marois, C., Macintosh, B., & Véran, J.P. 2010, in Adaptive Optics Systems II, 7736, 77361 [Google Scholar]
 Martinache, F., Guyon, O., Jovanovic, N., et al. 2014, PASP, 126, 565 [NASA ADS] [CrossRef] [Google Scholar]
 Martinez, P., Loose, C., Aller Carpentier, E., & Kasper, M. 2012, A&A, 541, A136 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Mawet, D., Pueyo, L., Lawson, P., et al. 2012, in Space Telescopes and Instrumentation 2012: Optical, Infrared, and Millimeter Wave, Proc. SPIE, 8442, 844204 [CrossRef] [Google Scholar]
 Morzinski, K. M., Close, L. M., Males, J. R., et al. 2014, in Adaptive Optics Systems IV, Proc. SPIE, 9148, 914804 [CrossRef] [Google Scholar]
 Neil, M. A. A., Booth, M. J., & Wilson, T. 2000, J. Opt. Soc. Am. A, 17, 1098 [NASA ADS] [CrossRef] [Google Scholar]
 Noll, R. J. 1976, J. Opt. Soc. Am., 66, 207 [NASA ADS] [CrossRef] [Google Scholar]
 Otten, G. P. P. L., Snik, F., Kenworthy, M. A., Miskiewicz, M. N., & Escuti, M. J. 2014, Opt. Express, 22, 30287 [NASA ADS] [CrossRef] [Google Scholar]
 Otten, G. P., Snik, F., Kenworthy, M. A., et al. 2016, ApJ, submitted [Google Scholar]
 Perrin, M. D., Duchene, G., MillarBlanchaer, M., et al. 2015, ApJ, 799, 182 [NASA ADS] [CrossRef] [Google Scholar]
 Quanz, S. P., Meyer, M. R., Kenworthy, M. A., et al. 2010, ApJ, 722, L49 [NASA ADS] [CrossRef] [Google Scholar]
 Rodenhuis, M., Canovas, H., Jeffers, S., & Keller, C. 2011, in Astronomical Polarimetry 2008: Science from Small to Large Telescopes, eds. P. Bastien, N. Manset, D. P. Clemens, & N. StLouis, ASP Conf. Ser., 449, 33 [Google Scholar]
 Sauvage, J.F., Fusco, T., Petit, C., et al. 2010, in Adaptive Optics Systems II, 7736, 77360 [Google Scholar]
 Sauvage, J.F., Fusco, T., LeMignant, D., et al. 2011, in Second International Conference on Adaptive Optics for Extremely Large Telescopes, 48 [Google Scholar]
 Snellen, I., de Kok, R., Birkby, J. L., et al. 2015, A&A, 576, A59 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Snik, F., Otten, G., Kenworthy, M., et al. 2012, in Modern Technologies in Space and Groundbased Telescopes and Instrumentation II, Proc. SPIE, 8450, 84500 [CrossRef] [Google Scholar]
 Soummer, R., Pueyo, L., & Larkin, J. 2012, ApJ, 755, L28 [NASA ADS] [CrossRef] [Google Scholar]
 Spangenberg, D.M., Dudley, A., Neethling, P. H., Rohwer, E. G., & Forbes, A. 2014, Opt. Express, 22, 13870 [NASA ADS] [CrossRef] [Google Scholar]
 Zurlo, A., Vigan, A., Galicher, R., et al. 2016, A&A, 587, A57 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
All Figures
Fig. 1 Diagram showing the principle of HMWS operation. a) Visual representation of the creation process of a singlemode computergenerated hologram, by analogy with optical exposure. b) Operation of a singlemode hologram in the presence of an aberrating wavefront. Figure adapted from Dong et al. (2012). 

Open with DEXTER  
In the text 
Fig. 2 Response curve of a 6mode Zernike HMWS (b_{k} = 0.7 rad) to defocus error a_{3}Z_{3} (all a_{k ≠ 3} = 0), using photometric apertures of radius r = 1.22λ/D. The diagonal line (red) denotes a perfect sensor with 1:1 correspondence, which is achieved by the HMWS for a_{3} ≲ 0.5. The response of the remaining sensor modes (Z_{4}–Z_{8}, grey) are well constrained about zero over the linear sensing regime, with residual nonlinear intermodal crosstalk behaviour manifesting for a_{3} ≳ 1. 

Open with DEXTER  
In the text 
Fig. 3 Simulation of a 14mode Zernike cMWS (modes Z_{3}−Z_{16}) combined with an APP optimised for a 10^{6} dark hole with a 180° opening angle. Left: multiplexed pupilplane phase design Ψ_{cMWS} containing the high spatial frequency HMWS binary grating overlaid on the smoother APP design. Right: corresponding focalplane PSF: positively and negatively biased PSF copies are located in the top and bottom half of the image respectively, separated by the white dashed lines. Two example pairs are labelled (defocus, Z_{3} and 45° astigmatism, Z_{5}), illustrating the symmetry of the ± 1 orders about the zeroth order PSF. 

Open with DEXTER  
In the text 
Fig. 4 Contrast curves for the APP coronagraph presented in Fig. 3, with (blue) and without (green) the HMWS hologram. The shaded regions denote the 1sigma variance limit of residual structure at each radius, azimuthally averaged over a 170 degree region corresponding to the dark hole contrast floor. 

Open with DEXTER  
In the text 
Fig. 5 Example closedloop performance for a 6mode Zernike (left column) and Fourier (right column) mode cMWS for g = 0.8. a) N_{i} = 0 aberrated PSFs, with a_{k} = 1.0 radians rms per mode. b) Diffractionlimited PSF after N_{i} closedloop iterations required to achieve convergence. PSF copies corresponding to each mode bias are labelled Z_{n ±} for Zernike modes and F_{nS/C ±} for Fourier modes, where the index S/C denote the sine and cosine mode phases respectively, and mode number corresponds to the circled regions of influence in the APP dark hole. The white circles overlaid on the Z_{4} ± modes indicated the r = 1.22λ/D region of interest used for wavefront measurement. Note also the differing angular extent of each APP, which cover 180° and 90° for the Zernike/Fourier designs respectively. c) Azimuthallyaveraged residual intensity plots corresponding to the PSFs of panels a) (green) and b) (blue); shaded regions denote 1σ variance averaged over the APP dark hole. d) Science PSF Strehl ratio (black diamonds) and residual rms wavefront error (red squares) as a function of iteration number N_{i}. Vertical dashed lines indicate the point of convergence. 

Open with DEXTER  
In the text 
Fig. 6 Convergence properties of the Zernike cMWS shown in Fig. 5 as a function of initial rms wavefront error per mode, a_{k}, and closedloop gain, g. Left: number of iterations required until convergence N_{i}(a_{r}< 10^{2}). A value of N_{i} = 20 indicates that convergence was not achieved within the allowed 20 iterations. Right: residual wavefront error a_{r} after the final iteration. 

Open with DEXTER  
In the text 
Fig. 7 Diagram illustrating setup used at the WHT. Interchangeable pupil masks allowed the use of telescope subapertures with effective diameters ranging from 0.2 m to 0.8 m, to control relative aberration strengths in the absence of a classical AO system. 

Open with DEXTER  
In the text 
Fig. 8 633 nm HeNe laser calibration data illustrating the response of a 6mode HMWS to controlled wavefront aberrations. a) PSF with no induced wavefront error and b) with 1.5 rad of defocus error applied via the SLM, showing the asymmetric response of the Z_{3} ± defocus WFS spot pair, indicated topright/bottomleft. Filter and SLM reflection ghosts are present below the zerothorder PSF, though these are sufficiently separated from the PSF copies to ensure no interference with HMWS performance. 

Open with DEXTER  
In the text 
Fig. 9 Onsky response of the Zernike HMWS sensor as a function of WHT secondary mirror focus position (mm) and corresponding induced defocus error a_{k} (radians rms). Top: response of the Z_{3} defocus mode. Overplotted in black is the theoretical a_{3} response curve of Fig. 2, seen to correspond closely to sensor measurements over the the range a_{3}< 1.5 radians rms. Bottom: response of nondefocus modes k> 3. Error bars correspond to uncertainties in subpixel centering accuracy (photon and CCD noise sources are negligible). Systematic trends in the nondefocus modes are attributed to real, instrumentally induced wavefront aberrations upstream of the pupil mask. 

Open with DEXTER  
In the text 
Fig. 10 a) Broadband onsky PSF of a cMWS incorporating the HMWS of Fig. 8, showing 1 /λ radial dispersion of PSF copies. The location of the APP dark hole at λ = 633 nm is illustrated by the shaded region, spanning 2.7−6λ/D, although this is not directly visible in the stacked image data. b) Chromatic response of each mode, binned to Δλ = 20 nm wavelength intervals; colours correspond to the modes of Fig. 9. The 633 nm calibration wavelength is shown by the vertical dashed line, and the mean spectral transmission T(λ) is shown in the upper panel. Defocus Z_{3} (green) shows indications of 1 /λ scaling, illustrated by the diagonal dashed line. 

Open with DEXTER  
In the text 
Fig. 11 a) Time series of singleframe rms wavefront error σ_{φ} as measured by i) the central PSF Strehl ratio under the Maréchal approximation (σ_{S}, green) and ii) calibrated cMWS measurements (σ_{WFS}, blue). Slow variations in seeing quality seen in σ_{S} are visibly traced by the sensor. b) Correlation plot between the two independent estimates of rms wavefront error, with colour indicating point density. The solid black line denotes σ_{S}/σ_{WFS} = 0.45 as is expected theoretically from Noll (1976), which corresponds well to the core regions of the correlation (1.45 < σ_{S} < 1.65). The outer regions have a significantly shallower gradient (red), distorted by various systematic error sources. 

Open with DEXTER  
In the text 
Fig. 12 Modal power spectrum of onsky broadband cMWS measurements as a function of Zernike mode order. The theoretical spectrum corresponding to purely Kolmogorov statistics (Noll 1976) is overplotted in black, while the horizontal dashed line denotes a purely flat 6mode power spectrum. 

Open with DEXTER  
In the text 
Current usage metrics show cumulative count of Article Views (fulltext article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 4896 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.