Instruction: Write an abstract for the following acadamic paper.

Input:
Paper: we have recorded the flight of a fly during take off and landing using digital high speed photography . it is shown that the dynamics of flexible wings are different for these procedures . during this observation fly flew freely in a big box and it was not tethered .
Abstract: in this fluid dynamics video , we demonstrated take off and landing of a fly . the deformation of wings is in focus in this video .

Paper: the power of multi - wavelength photometric observations to recover galaxy redshifts has been known since the late fifties @xcite and it has been confirmed in the last decade with deep blank - field imaging surveys ( e.g. * ? ? ? * ; * ? ? ? * ; * ? ? ? * ; * ? ? ? although spectroscopic redshifts are much better in precision than photometric estimates , photometry has two important advantages with respect to spectra : the number of sources that can be observed at the same time and sensitivity . indeed , with a single photometric pointing it is possible to observe a large number of sources , while in general only a limited number of objects can simultaneously be targeted with spectroscopy . in addition , the spectroscopic observation of faint targets usually requires very long exposure times ( e.g. * ? ? ? * ) , and the faintest objects detected in photometric maps are beyond the technical possibilities of contemporary spectrographs @xcite . photometric redshift determinations usually rely on the identification of strong features , such as the lyman or @xmath12 break , in a galaxy spectral energy distribution ( sed ) , after they are convolved with the transmission functions of the filters utilised in the observations . this is the reason why it is necessary to do a careful filter selection when planning observations , balancing depth and wavelength coverage , in order to minimise degeneracies and misidentifications when obtaining photometric redshifts .    the _ james webb space telescope _ ( _ jwst _ , @xcite ) is a foremost space mission for the coming years and the awaited successor of the _ hubble space telescope ( hst ) _ and _ spitzer space telescope _ at infrared wavelengths . it will have four instruments on board for imaging , spectroscopy and coronography , covering a wide range of wavelengths from 0.6  @xmath13 through 28.3  @xmath13 with sub - arcsec angular resolution . jwst_s main scientific aims is to study the formation and evolution of galaxies at early cosmic times . for this purpose , deep blank - field imaging surveys will be carried out with two imaging cameras , namely the near infrared camera ( nircam ; * ? ? ? * ) and the mid infrared instrument ( miri ; * ? ? ? * ; * ? ? ? * ) . in the vast majority of cases , galaxy redshift determinations will be done through sed - fitting analysis and , therefore , it is crucial to understand the impact of choosing different filter combinations on the ability to recover the right redshifts for all the observed sources . nircam s filter wheels include eight broad - band filters , namely f070w , f090w , f115w , f150w , f200w , f277w , f356w and f444w , as well as a number of medium and narrow - band filters , covering the wavelength range @xmath0 . the miri imager contains nine different broad - band filters between 5 and 28  @xmath14 m . this latter wavelength range encompasses the redshifted stellar light of high-@xmath6 galaxies , as well as the hot dust radiation emitted by low-@xmath6 sources . the two shortest - wavelength bands that we consider here ( i.e. , f560w and f770w ) are the most sensitive in miri , so will be those primarily used for high-@xmath6 galaxy studies . the complementarity of nircam s and miri s wavelength coverages makes that both cameras should ideally be considered for deep galaxy surveys . while surveys with nircam alone will be sufficient to encompass the @xmath12 break of galaxies at @xmath15 , a secure measurement of the evolved stellar light ( around rest @xmath16 ) in @xmath17 galaxies will also require observations with the miri filters . however , due to different detector technology in the near- and mid - ir range , miri s sensitivity is significantly lower than that of nircam , making observers doubt whether it is convenient to invest time on long miri observations when planning deep galaxy surveys . at the same time , the lack of _ jwst _ coverage below @xmath18 requires considering whether observing fields with no ancillary shorter wavelength imaging can be effective to study galaxy evolution . here we address these issues through the analysis of galaxy redshift recovery in different data availability situations , all treated on an equal basis , in order to allow the reader decide which camera and filter configuration would be optimal for their scientific interests . the aim of this work is to assess the impact of different _ jwst _ broad - band filter combinations on recovering reliable photometric redshifts for galaxies at @xmath4 . in addition to considering the nircam broad bands and miri f560w and f770w filters , we tested the need of ancillary data at @xmath5 , such as those provided by _ hst _ observations . we applied our tests to three different galaxy samples with known redshifts : 1 ) a spectroscopic galaxy sample at @xmath19 ; 2 ) a galaxy sample with consensus photometric redshifts at @xmath20 from the candels survey ; and 3 ) a mock galaxy sample generated with different spectral templates at @xmath21 , 8 , 9 and 10 . the structure of the paper is as follows . in section [ sec : samples ] we describe our three sample selection , the obtention of photometry in the relevant nircam and miri bands , and photometric redshift test methodology . in section [ sec : results ] we analyse our results at different redshifts , while in section [ sec : conclusions ] we summarize our main findings and conclusions . throughout this paper , we adopt a cosmology with @xmath2270  @xmath23 , @xmath24 , @xmath25 . all magnitudes refer to the ab system @xcite . we selected three different galaxy samples spanning rather complementary redshift ranges :    1 .   a sample of 2422 galaxies with secure spectroscopic redshifts at @xmath19 ; 2 .   a sample of 1375 galaxies with consensus photometric redshifts at @xmath20 ; 3 .   a sample of 2124 simulated galaxies at @xmath7 . these three samples allowed us to investigate the different problems arising when trying to recover redshifts photometrically using different combinations of _ jwst _ filters . by no means are these samples trying to emulate a complete , flux - limited galaxy population at @xmath4 as it will be seen in a blank _ jwst _ field , and this is not necessary given the scope of this paper . our first galaxy sample contains 2422 galaxies with secure spectroscopic redshifts ( @xmath26 ) from the eso public compilation in the chandra deep field south ( cdfs ; * ? ? ? * ; * ? ? ? * ; * ? ? ? * ; * ? ? ? * ; * ? ? ? * ; * ? ? ? * ; * ? ? ? * ; * ? ? ? * ; * ? ? ? * ; * ? ? ? * ; * ? ? ? * ; * ? ? ? * ; * ? ? ? * ; * ? ? ? * ; * ? ? ? * ; * ? ? ? * ; * ? ? ? * ; * ? ? ? * ) , and from @xcite . in order to obtain multiwavelength photometry for these galaxies , we crossmatched this sample with the public cosmic assembly near - infrared deep extragalactic legacy survey ( candels ; * ? ? ? * ; * ? ? ? * ) catalogue for the great observatory origins deep survey south field ( goods - s ) obtained by @xcite . this catalogue contains photometry in 17 broad bands , from 0.37 @xmath14 m through 8.0 @xmath14 m , obtained with ground - based and space telescopes , including _ hst _ and _ spitzer _ @xcite . this wavelength sampling allows for a good - quality sed fitting of the galaxy stellar emission and a proper redshift recovery in the vast majority of cases , using standard galaxy spectral templates and photometric redshift codes . our aim here is to assess the impact of choosing different _ jwst _ filter sets on the derived photometric redshifts , rather than the performance of different photometric redshift codes and/or sed template libraries . therefore , we explicitly excluded from our analysis any galaxy from the parent spectroscopic sample for which we could not correctly recover the redshift photometrically using all the candels photometry up to @xmath27 . we did not use the two irac band data at longer wavelengths because their @xmath28 is considerably lower than for the other bands and they could be contaminated by polycyclic aromatic hydrocarbon emission at low @xmath6 . the excluded galaxies are only @xmath29 of all the galaxies with publicly available @xmath26 in the cdfs .    to obtain photometric redshift estimates for all the galaxies in the parent spectroscopic sample , we ran the public code _ lephare _ @xcite using templates from bruzual & charlot  ( 2003 ; bc03 hereafter ) with solar metallicity , a range of exponentially declining star formation histories with different characteristic times @xmath30 from 0.01 to 10  gyr and ages from 0.01 to 10  gyr . we allowed for emission lines in _ lephare _ , and applied the calzetti et al . reddening law @xcite with @xmath31 extinction values from 0 to 4 . we considered the subsample of 2422 objects with resulting photometric redshifts within 2@xmath32 ( @xmath330.13 ) of the spectroscopic redshifts ( fig . [ fig : zspec ] ) , which constitute 92% of the parent spectroscopic sample , and adopted it as our sample 1 for all further analysis . the sample 1 redshift distribution is shown in figure [ fig : zdist ] . this distribution peaks around @xmath34 and has a high-@xmath6 tail up to @xmath35 , although the statistics are rather poor at @xmath17 . so , our main purpose with sample 1 is to study the percentage of low - redshift galaxies that can leak to high @xmath6 when different filter sets , and thus different wavelength coverages , are available . our second sample consists of 1375 galaxies at @xmath20 taken from the candels goods - s public catalogue . for this sample , we considered as fiducial redshifts the consensus photometric redshifts that have been compiled by @xcite . the candels consensus photometric redshifts result from the comparison of 11 independent sed fitting runs . we considered only candels galaxies with @xmath17 here , as lower redshifts are well represented in our sample 1 . as we did for the sample with spectroscopic redshifts ( sample 1 ) , we obtained our own photometric redshifts by running _ lephare _ on the candels 15-band photometry and using the same sed templates and parameter values stated before . in this case , our own photometric redshifts agree within 2@xmath32 ( @xmath330.10 ) with the candels consensus redshifts for 1375 ( 95% ) of the goods - s galaxies with candels redshifts @xmath36 ( fig . [ fig : zphot ] ) , consistently with the typical level of dispersion present in the individual sed fitting candels runs . we adopted these 1375 galaxies as our sample 2 . the resulting redshift distribution is shown in figure [ fig : zdist ] . we built our third sample with mock galaxies at fixed redshifts z@xmath37 and @xmath38 ( for an analysis of more redshifts see appendix [ sec : appa ] ) , simulating their seds with two different methods . firstly , we considered the bc03 synthetic galaxy templates with four metallicities ( z@xmath39 , 0.4  z@xmath39 , 0.2  z@xmath39 , and 0.02  z@xmath39 ) , exponentially declining star formation histories and five different ages , depending on redshift . we applied dust extinction by using the calzetti et al . reddening law with @xmath40 , and the effect of absorption by the intergalactic medium ( igm ; * ? ? ? the bc03 models do not include emission lines , so we manually added the @xmath41 , @xmath42 , [ oiii]5007  @xmath43 and [ oii]3727  @xmath43 emission lines to those templates for which the age is equal or lower than the characterisitic @xmath30 of the exponentially declining star formation history , as follows . we started from the observed mean value of the @xmath44[nii]@xmath45[sii ] equivalent width ( ew ) , which is 422 - 423  @xmath46 at @xmath47 @xcite . then , we assumed line ratios from @xcite in order to derive the equivalent widths of @xmath48 alone at different metallicities . @xcite obtained a relation between @xmath41 equivalent width and redshift , namely ew@xmath49  @xmath50 , which has been checked to be consistent with observations up to @xmath51 @xcite . ew by a factor @xmath52 . ] following this relation , we derived ew(@xmath41 ) for all considered redshifts . we also derived equivalent widths for @xmath42 assuming case b recombination and the corresponding equivalent widths for [ oiii ] and [ oii ] by using the line ratios tabulated in @xcite . we explicitly decided not to include the ly@xmath53 line because the importance of its emission in galaxies at @xmath54 is still unclear ( e.g. , * ? ? ? * ; * ? ? ? * ; * ? ? ? * ) . finally , we normalised every model at 29  ab  mag at 1.5@xmath14 m ( corresponding to the nircam f150w filter pivot wavelength ) . the complete list of adopted parameter values is summarized in table [ tab : param ] , while some sed examples at z@xmath557 are shown in figure [ fig : sed_z7 ] . our sample contains a total of 864 galaxies , corresponding to 240 bc03-based sed models at each redshift 7 and 8 , and 192 sed models at each redshift 9 and 10 . for each model , we considered independently three possible @xmath28 values ( @xmath56 and 10 ) for the flux corresponding to [ f150w]=29  ab  mag . the @xmath28 values of the photometry in all other bands have been scaled as we explain in  [ sec - jwstphotmeas ] . cc [ ] metallicity & z@xmath39 , 0.4z@xmath39 , 0.2z@xmath39,0.02z@xmath57 + sfh @xmath30 [ gyr ] & 0.01,0.1,1,10 + a@xmath58 & 0,0.5,1 + age [ gyr ] & 0.01,0.05,0.2,0.4,0.6 + @xmath6 & 7,8,9,10 + @xmath28 & 3,5,10 +    secondly , we simulated further @xmath7 galaxy seds with the population synthesis code _ yggdrasil _ @xcite , which has been especially conceived to model high - redshift galaxies . we used a set of parameter values similar to the ones used for the bc03 templates , except that the star formation histories are somewhat different , consisting of a step function for which the duration of the constant star formation period is set as a free parameter . and , in addition to the normal stellar templates , we adopted also a template with a metal - free , population - iii single stellar population @xcite . in all cases , we considered the two possible extreme gas covering factors , namely @xmath59 and 1 . the complete list of adopted parameter values is given in table [ tab : paramygg ] . we show four sed template examples for @xmath21 galaxies in figure [ fig : sed_z7_ygg ] . the _ yggdrasil _ models include the effects of nebular line and continuum emission , so we did not need to add any extra line manually as we did for the bc03 templates . we did include the effect of dust reddening and igm absorption in the same way as for the bc03 models . we removed the ly@xmath60 emission line from the _ yggdrasil _ models , because its presence and importance is debated at @xmath54 , as we explained before . once again , we normalised every sed template to [ f150w]=29  mag at 1.5  @xmath14 m . our _ yggdrasil _ simulated sample comprises a total of 1260 galaxies , corresponding to 342 sed models at each redshift 7 and 8 , and 288 sed models at each redshift 9 and 10 . the complete redshift distribution of our galaxy sample 3 , simulated both with the bc03 and _ yggdrasil _ templates , is shown in fig . [ fig : zdist ] .    cc[ht ! ] metallicity & z@xmath39,0.4z@xmath39,0.2z@xmath39,0.02z@xmath39,0 + constant sfh for [ myr ] & 10,30,100 + a@xmath58 & 0,0.5,1 + age [ gyr ] & 0.01,0.05,0.2,0.4,0.6 + @xmath61 & 0,1 + @xmath6 & 7,8,9,10 + @xmath28 & 3,5,10 +        based on the best - fit seds obtained running _ lephare _ on the candels photometry for the galaxies in samples 1 and 2 , and the simulated seds for our mock galaxies in sample 3 , we measured the photometry expected at the 8 nircam broad bands and the two miri broad bands f560w and f770w for all our galaxies ( see table [ tab : filters ] for a summary of the different _ jwst _ filters considered in this work ) . our procedure to interpolate / extrapolate the _ jwst _ photometry is similar for our three galaxy samples . the main difference is that in samples 1 and 2 , we simply adopted @xmath28 values for the photometry scaled from the candels photometry , while for sample 3 we tested three different @xmath28 values in a controlled manner , in order to assess the effect of @xmath28 on our results .    as a first step , for every galaxy in our real galaxy samples ( samples 1 and 2 ) , we derived nircam broad - band fluxes by convolving the best - fit sed template with the transmission curve of each _ jwst _ filter @xcite . to each flux , we assigned an error bar corresponding to a @xmath28 equal to that of the closest filter in the candels catalogue . we adopted as nircam flux a random value ( selected from a uniform distribution ) within the corresponding error bar . note that , in practice , nircam will reach the depth of the _ hst _ candels photometry in very short integration times , so the @xmath28 achieved for candels galaxies in typically deep nircam surveys will be higher than what we consider here . however , our assumed @xmath28 are already sufficiently high in most cases : virtually all galaxies in sample 1 and more than 90% of galaxies in sample 2 have @xmath62 in their derived nircam f150w photometry . thus , our results derived here for these real galaxy samples are mostly independent of @xmath28 , as we explain below ( the low @xmath28 effect will be more clearly manifested in our sample 3 , where we explicitly set three different @xmath28 values for each template , including a low value @xmath63 ) .    as a second step , we measured the photometry expected at the miri bands for our sample 1 and 2 galaxies , which results from the extrapolation of the best - fit template redward of the candels irac @xmath27 coverage . we convolved the best sed model with the two miri bands transmission curves @xcite . to each miri band flux , we assigned an error bar corresponding to a @xmath28 scaled using as reference the @xmath28 in the nircam f150w band : we assumed that a miri f560w or f770w flux corresponding to a magnitude 28 ( ab ) would have the same @xmath28 as a nircam f150w flux corresponding to 29  mag ( whose @xmath28 was , in turn , scaled assuming that the ` measured ' nircam f150w flux @xmath28 for each galaxy was the same as the real candels _ hst _ f160w flux @xmath28 ) . fixing the @xmath28 in the nircam and miri photometry implicitly assumes specific integration times with the _ jwst _ instruments . in practice , this assumption does not matter , as our results will be equally valid for any galaxies with similar @xmath28 values , independently of the miri fluxes at which these @xmath28 are reached . finally , we randomised every flux within its own error bar .    ccc[ht ! ] nircam / f070w & 0.70 & 0.18 + nircam / f090w & 0.90 & 0.23 + nircam / f115w & 1.15 & 0.30 + nircam / f150w & 1.50 & 0.38 + nircam / f200w & 1.99 & 0.53 + nircam / f277w & 2.77 & 0.82 + nircam / f356w & 3.56 & 0.99 + nircam / f444w & 4.41 & 1.29 + miri / f560w & 5.60 & 1.41 + miri / f770w & 7.70 & 2.30 +    ccccccccccc[ht ! ] 10 & 30.2 & 30.5 & 30.6 & 30.7 & 30.9 & 30.9 & 30.7 & 30.2 & 29.7 & 29.7 + 5 & 29.4 & 29.7 & 29.9 & 30.0 & 30.2 & 30.2 & 30.0 & 29.4 & 29.0 & 29.0 + 3 & 28.9 & 29.2 & 29.3 & 29.4 & 29.6 & 29.6 & 29.4 & 28.9 & 28.4 & 28.4 +    for sample 3 with mock galaxies , we convolved every simulated sed template with the transmission curve of each nircam filter . in our sample every sed template is considered three times , in order to apply three fixed , reference @xmath28 values ( 10 , 5 and 3 ) to the nircam f150w fluxes . we assumed the same integration times for all the other nircam bands and took into account the differences in filter sensitivities to assign @xmath28 in each band . a different strategy that assumes the same observational depth for all nircam bands is presented in appendix [ sec : appb ] . we considered every flux below the @xmath64 level as a non - detection . the 2@xmath32 detection limits in each band for each fixed reference @xmath28 value at f150w are listed in table  [ tab : ston_levels ] . note that , as a conservative approach , we adopted @xmath65 flux upper limits ( rather than @xmath64 ) in all cases of non - detections for running the @xmath3 code , as it is explained below . finally , we obtained 10 random realisations of each nircam band flux within the corresponding error bar . note that , in contrast , for samples 1 and 2 we considered a single realisation of each flux , simply because in the case of real galaxies the nircam fluxes are well constrained by interpolation of the candels fluxes , so their error bars are typically smaller than in sample 3 .    in a similar way , we derived fluxes in the miri bands by convolving all sed templates in the sample with the two miri filter transmission curves . then , we scaled each miri flux @xmath28 , such that a mag@xmath6628 in miri has the same @xmath28 as a nircam magnitude [ f150w]=29 . this is a realistic assumption of how the nircam and miri data will typically be matched . as for the nircam bands , we randomised every miri flux 10 times within its own error bar . with the expected _ jwst _ photometry measured on the galaxy templates for the three samples , we could test how accurately it is possible to derive photometric redshifts by using different _ jwst _ band combinations . the band combinations that we analysed in this work are :    * 8 nircam broad bands * _ hst _ f435w , f606w and 8 nircam broad bands * vlt @xmath67 band , f435w , _ hst _ f606w and 8 nircam broad bands * 8 nircam broad bands and 2 miri bands ( f560w and f770w ) * 8 nircam broad bands and miri f560w only * 8 nircam broad bands and miri f770w only * _ hst _ f435w , f606w , 8 nircam broad bands and 2 miri bands * _ hst _ f435w , f606w , 8 nircam broad bands and miri f560w * _ hst _ f435w , f606w , 8 nircam broad bands and miri f770w    these different filter combinations have been chosen to test in which cases the nircam broad bands alone are sufficient to recover good photometric redshifts and in which cases the miri bands can improve these estimates . because miri is considerably less sensitive than nircam , much longer integration times are necessary to reach comparable depths . thus , many observing programs may opt for using a single miri filter ( f560w or f770w ) rather than both of them . this is why we tested separately the cases in which a single and both miri bands are used . in addition , we analysed the cases in which two short - wavelength _ hst _ bands and the @xmath67 band are included . all these bands are beyond _ jwst_s wavelength coverage , so they can not be substituted with any _ jwst _ band . we used the candels catalogue to recover observations in these bands for galaxies in samples 1 and 2 . we ignored these bands for sample 3 : they are irrelevant , as the lyman break is completely contained within the nircam wavelength range at @xmath68 . we note that _ lephare _ has been run using the native bc03 models allowing the code to incorporate emission lines with its own prescription in the cases of samples 1 and 2 ( as it is described in section  [ sec - sample1 ] ) . for our mock galaxies in sample 3 , we ran _ lephare _ using directly our own customised templates , i.e. , the bc03 templates with emission lines incorporated as explained in section  [ sec_sample3descr ] and the _ yggdrasil _ templates . in addition , in the _ lephare _ runs for sample 3 we also included some older galaxy models ( as in samples 1 and 2 ) , and allowed for extinction values from @xmath69 to 4 in all cases , in order to test whether there could be degeneracies between redshift and dust / age produced in the photometric fitting . this consideration of a wide range of redshifts , ages and extinction values emulates the real situation in which one simply has a photometric input catalogue without knowing a priori which sources are at high or low redshifts . no extra consideration of emission lines has been allowed for sample 3 in _ lephare _ , as our young - galaxy models already account for them .    for all the filter combinations we ran _ lephare _ on the three galaxy samples , in order to recover the galaxy photometric redshifts and compare them with the fiducial redshift available for each galaxy . in the filter combinations with miri bands in samples 1 and 2 , and all cases for sample 3 , we chose the median photometric redshift of the 10 iterations done for each object ( corresponding to different variations in the photometry , as explained above ) . for each sample and filter set combination , in section  [ sec : results ] we quote the resulting mean value of the normalised redshift difference distribution @xmath70 and the r.m.s . ( @xmath32 ) of the _ normalised _ absolute redshift difference distribution @xmath71 . note that , although we computed @xmath32 independently for each sample and broad - band combination , we considered as reference to define outliers a single @xmath32 value per sample ( the minimum obtained with all the filter sets ) . this allows us to directly compare how the outlier fractions change among the different filter combinations . we warn the reader that the specific values of the statistical quantities ( @xmath32 , outlier percentages ) quoted in this paper refer to the samples analysed here and may have variations for other galaxy samples with different redshifts and sed type distributions . even so , as all our tests are internally consistent , our results constitute a useful reference to assess the ability to recover galaxy redshifts using different _ jwst _ filter combinations and ancillary data . in this section we present our results for the three galaxy samples analysed in this work .      ccccc[ht ! ] 8 nircam broad bands & 134 ( 10.3% ) & -0.024 & 0.115 + _ hst _ f435w + _ hst _ f606w + 8 nircam bands & 93 ( 7.1% ) & -0.032 & 0.076 + vlt @xmath67 + _ hst _ f435w , f606w + 8 nircam & 89 ( 6.8% ) & -0.043 & 0.058 + 8 nircam bands + miri f560w , f770w & 116 ( 8.9% ) & -0.037 & 0.066 + 8 nircam bands + miri f560w & 120 ( 9.2% ) & -0.029 & 0.077 + 8 nircam bands + miri f770w & 128 ( 9.8% ) & -0.037 & 0.067 + _ hst _ f435w , f606w + 8 nircam bands + miri f560w , f770w & 109 ( 8.3% ) & -0.042 & 0.062 + _ hst _ f435w , f606w + 8 nircam bands + miri f560w & 93 ( 7.1% ) & -0.034 & 0.060 + _ hst _ f435w , f606w + 8 nircam bands + miri f770w & 106 ( 8.1% ) & -0.042 & 0.064 +    in figures [ fig : nircam_hst_u_zspec ] to [ fig : nircam_hst_miri_zspec ] we show the comparison between the spectroscopic and our derived photometric redshifts obtained with different filter combinations for sample 1 . for each case , we quote the mean of the @xmath72 distribution and the r.m.s . of @xmath73 , computed considering all galaxies in the sample . we identified 3@xmath32 outliers using as reference @xmath330.058 , which is the minimum of all the @xmath32 values that we get for sample 1 . this galaxy sample is particularly useful to test the percentage of low-@xmath6 galaxies ( @xmath74 ) that leak to wrong redshifts due to failures in the redshift recovery . the percentages of these low-@xmath6 sources that are leaking outliers for each filter combination is listed in table  [ tab : contamination ] . for this analysis , we considered only the redshift bin @xmath75 , avoiding lower @xmath6 galaxies , as the miri filters are not very suitable to trace the direct stellar emission at such low @xmath6 . note that , although these obtained outlier percentages apply particularly to this galaxy sample , the changes obtained with different passbands are of general validity and show the impact of incorporating different filters on the redshift recovery . firstly , we analysed the case of using the 8 nircam broad bands with and without ancillary _ hst _ and ground - based @xmath67-band data ( figure  [ fig : nircam_hst_u_zspec ] ) . we found that , when using only the 8 nircam broad bands , the percentage of @xmath75 sources that are @xmath65 outliers is of 10.3% , including several extreme cases which appear as @xmath17 contaminants . besides , the r.m.s . of the @xmath73 distribution is high ( @xmath76 ) compared with the typical precision that can currently be achieved for low-@xmath6 galaxies in deep surveys . when adding shorter - wavelength _ hst _ data , the normalised redshift difference distribution r.m.s . is significanlty lower , the outlier percentage decreases to 7.1% , and the majority of the most extreme redshift outliers are corrected . when adding also the @xmath67 band , the r.m.s . reaches a minimum ( @xmath77 ) and so does the outlier percentage ( 6.8% ) , leaving basically no catastrophic outlier cases . this is because it is necessary to cover wavelengths shorter than @xmath78 in order to distinguish between the lyman and @xmath12 breaks at @xmath79 . the improvement on the photometric redshift estimation is also due to the mere increase in the wavelength coverage given by the larger number of bands . besides , the incorporation of the _ hst _ and @xmath67-band data to the nircam photometry reduces the photometric redshift dispersion ( @xmath32 ) to about a half ( fig . [ fig : nircam_hst_u_zspec ] ) .    secondly , we tested the photometric redshift estimation when complementing the nircam photometry with miri photometry , instead of shorter wavelength data ( figure [ fig : nircam_miri_zspec ] ) . when we incorporate both miri f560w and f770w bands , the resulting normalised redshift difference distribution r.m.s . is significantly lower ( @xmath80 ) than in the case with nircam data alone , indicating that the presence of miri photometry can mitigate the absence of short - wavelength data . ( table  [ tab : contamination ] ) . lastly , we considered the situation in which _ hst _ ancillary data along with nircam and miri data are available ( figure [ fig : nircam_hst_miri_zspec ] ) . we explicitly tested a combination without @xmath67-band photometry , as ground - based @xmath67-band observations with matching depth to _ jwst _ observations will be time - consuming and difficult to achieve . the results are rather similar to the case with nircam and miri bands considered together : the obtained r.m.s . is @xmath81 , with the fraction of redshift outliers being slightly reduced . interestingly , when only nircam and miri photometry are considered , the f770w data improves the overall redshift statistics . instead , when _ hst _ data are also available , the incorporation of f560w alone provides slightly better results . ( this is related to how the @xmath82-fitting procedure works , typically giving more weight to longer wavelength data where the sources are brighter ) .    to conclude , the 8 nircam broad bands alone are not adequate to obtain sufficiently good photometric redshifts at @xmath74 . although for most galaxies the derived redshifts are correct , the overall obtained statistics is poor compared with the typical @xmath3 quality that can currently be achieved in deep surveys at these redshifts . observations at wavelengths shorter than @xmath78 are necessary to remove the most extreme redshift outliers . incorporating miri longer - wavelength photometry instead can mitigate the absence of short - wavelength observations . having a complete optical and infrared coverage up to @xmath83 will allow us to keep the @xmath74 redshift statistics well under control . ccccc[ht ! ]    8 nircam broad bands & 190 ( 21.4@xmath84 ) & 46 ( 9.4@xmath84 ) & -0.111 & 0.218 + _ hst _ f435w , f606w + 8 nircam bands & 21 ( 2.4@xmath84 ) & 36 ( 8.0@xmath84 ) & -0.023 & 0.119 + vlt @xmath67 + _ hst _ f435w , f606w+ 8 nircam bands & 23 ( 2.6@xmath84 ) & 37 ( 8.2@xmath84 ) & -0.024 & 0.122 + 8 nircam bands + miri f560w , f770w & 68 ( 7.7@xmath84 ) & 14 ( 3.1@xmath84 ) & -0.034 & 0.099 + 8 nircam bands + miri f560w & 120 ( 13.5@xmath84 ) & 41 ( 9.1@xmath84 ) & -0.072 & 0.169 + 8 nircam bands + miri f770w & 90 ( 10.1@xmath84 ) & 31 ( 6.9@xmath84 ) & -0.049 & 0.127 + _ hst _ f435w , f606w + 8 nircam bands + miri f560w , f770w & 11 ( 1.2@xmath84 ) & 7 ( 1.4@xmath84 ) & -0.004 & 0.065 + _ hst _ f435w , f606w + 8 nircam bands + miri f560w & 20 ( 2.2@xmath84 ) & 32 ( 6.6@xmath84 ) & -0.019 & 0.113 + _ hst _ f435w , f606w + 8 nircam bands + miri f770w & 17 ( 1.9@xmath84 ) & 18 ( 4.0@xmath84 ) & -0.011 & 0.083 +      in figures [ fig : nircam_hst_u ] to [ fig : nircam_hst_miri ] we show the comparison between our recovered photometric redshifts and fiducial candels consensus redshifts for galaxies in sample 2 ( all of which have fiducial redshifts @xmath17 ) . as we did before , we derived @xmath71 for all our galaxies and we identified 3@xmath32 outliers , where we adopted @xmath85 , which is the smallest r.m.s . value that we obtained with the different filter combinations . the percentages of outliers in each case are listed in table [ tab : outliers ] . crrrr[ht ! ] 8 nircam broad bands & 1 ( @xmath86 ) & 24 ( @xmath87 ) & 20 ( 3.5% ) & 87 ( 10.1% ) + 8 nircam bands + miri f560w , f770w & 1 ( @xmath86 ) & 5 ( @xmath88 ) & 3 ( 0.5% ) & 26 ( 3.0% ) + 8 nircam bands + miri f560w & 1 ( @xmath86 ) & 7 ( @xmath89 ) & 3 ( 0.5% ) & 29 ( 3.4% ) + 8 nircam bands + miri f770w & 2 ( @xmath90 ) & 16 ( @xmath91 ) & 14 ( 2.4% ) & 45 ( 5.2% ) +    crrrr[ht ! ] 8 nircam bands & 11 ( 0.9% ) & 257 ( 20.4% ) & 118 ( 49.2% ) & 560 ( 44.4% ) + 8 nircam bands + miri f560w , f770w & 1 ( 0.1% ) & 152 ( 12.1% ) & 41 ( 17.1% ) & 462 ( 36.7% ) + 8 nircam bands + miri f560w & 13 ( 1.0% ) & 188 ( 14.9% ) & 68 ( 28.3% ) & 490 ( 38.9% ) + 8 nircam bands + miri f770w & 8 ( 0.6% ) & 196 ( 15.6% ) & 79 ( 32.9% ) & 508 ( 40.3% ) +    as for sample 1 , our first step consisted of analysing the resulting photometric redshifts obtained using the 8 nircam broad bands with and without the _ hst _ and @xmath67-band data ( figure [ fig : nircam_hst_u ] ) . we found that when using only the 8 nircam broad bands the percentage of outliers for sample 2 is high . we did not show the percentage of low-@xmath6 contaminants because of the sample selection , which by construction only has @xmath17 objects . the most evident effect in sample 2 is the leakage of high-@xmath6 sources to low-@xmath6 values produced by the insufficient photometric coverage . this is particularly important for galaxies with input redshifts @xmath92 : a bit more than 20% of them are found @xmath93 away at lower redshifts ( table  [ tab : outliers ] ) . the redshift estimation is better at higher redshifts ( @xmath94 ) . the percentage of sources leaking to lower @xmath6 is of only @xmath95 . as we discussed before , the lyman break enters the shortest - wavelength nircam band at @xmath96 , and therefore , the degeneracy between the @xmath12 and lyman breaks occurs mainly at lower redshifts . for this reason , adding the _ hst _ f435w and 606w photometry does not have an important effect on the redshift estimation at these higher redshifts , but it does at @xmath92 , where it reduces the percentage of leaking sources to only @xmath97 . the overall redshift distribution dispersion reduces to a half when the _ hst _ data is considered along the nircam photometry ( fig . [ fig : nircam_hst_u ] ) . the addition of the @xmath67 band does not produce any obvious effect in the redshift estimation for sample 2 , once the _ hst _ photometry is also considered . the role of the @xmath67 band is more important for identifying low - redshift contaminants rather than preventing the leakage of high-@xmath6 sources to low @xmath6 , because galaxies at z@xmath984 are very faint or not detected in this band . as we will discuss later , the _ hst _ optical bands have a similar effect at z@xmath985 .    as a second step , we obtained photometric redshifts with the 8 nircam broad bands and two miri bands f560w and f770w , considered together and one at a time ( figure [ fig : nircam_miri ] ) . adding both miri bands significantly improves the photometric redshift estimates by decreasing the percentage of leaking sources to @xmath99 at @xmath92 and @xmath100 at @xmath94 . among the remaining @xmath92 leaking sources , some are placed at @xmath34 and a few at higher redshifts , i.e. , @xmath101 . when considering one miri band at a time , f770w appears to be more effective at improving the photometric redshift estimation than f560w , but it is the combined effect of both miri bands which produces the substantial reduction in the fraction of leaking galaxies .    adding miri photometry appears to be more important than adding _ hst _ photometry to minimise the dispersion in the obtained redshift distribution : the resulting r.m.s . in the case of nircam and miri data is @xmath102 , which is slightly lower than for the _ hst _ and nircam filter combination ( @xmath103 ) . lastly , we considered _ hst _ , nircam and miri photometry altogether to obtain photometric redshifts ( figure [ fig : nircam_hst_miri ] ) . as expected , using all these bands jointly provides the best results in the identification of z@xmath104 galaxies . the presence of _ hst _ photometry at @xmath105 helps to correctly identify the lyman break at @xmath92 , while the miri mid - infrared bands provide a better wavelength coverage to correctly identify sources at z@xmath106 . the resulting redshift dispersion gets a minimum value of @xmath85 and the fraction of @xmath92 sources leaking beyond @xmath65 in redshift decreases to @xmath107 .    as before , the miri f770w filter appears to have a more important role in improving the redshift estimation than miri f560w , but both bands are necessary to properly identify all galaxies at @xmath20 . to sum up , the short - wavelength _ hst _ data and long - wavelength miri data have complementary roles in the correct identification of @xmath17 galaxies . we remind the reader that the photometry in our samples 1 and 2 is of good quality ( @xmath108 in f150w for the vast majority of galaxies ; see section  [ sec - jwstphotmeas ] ) . the redshift outlier percentages that we quote here correspond to this high - quality photometry , so they do not depend on the data quality , but are rather produced by the intrinsic limitations of the sed fitting with a limited number of photometric bands . we checked the @xmath28 of the photometry for the @xmath3 outliers and found no significant difference with respect to the photometry of all other sources , confirming that samples 1 and 2 results are not affected by the photometric @xmath28 .      with sample 3 we aim to test the ability to recover photometric redshifts for simulated galaxies at @xmath7 , using the nircam broad bands alone and in conjunction with the miri f560w and f770w bands . for this sample , we did not consider the incorporation of the _ hst _ short - wavelength and @xmath67 filters , because these bands map rest wavelengths far blueward of the lyman break at these redshifts , so they basically correspond to non - detections in all cases . figures [ fig : z7_stn10 ] to [ fig : z7_stn3 ] show the distributions of the recovered photometric redshifts for each input redshift ( @xmath109 and 10 ) for the sample 3 galaxies simulated with the bc03 templates , obtained by running _ lephare _ with different _ jwst _ filter combinations . as in this case the input redshifts are four fixed values , it is clearer to show the output @xmath3 distributions for each input redshift rather than @xmath110 plots , which would contain four vertical columns each .    as before , in each plot we quote the mean value of the normalised redshift difference distribution @xmath70 , taking into account all galaxies . however , for sample 3 galaxies , we adapted our method for the r.m.s . calculation . as it can be seen in figures [ fig : z7_stn10 ] to [ fig : z7_stn3 ] , the sample 3 redshift histograms are characterised by quite a narrow distribution around the main peak and the presence of some catastrophic failures producing secondary peaks at much lower redshifts . these catastrophic redshift failures would significantly bias the computed @xmath32 of @xmath71 if they were considered in the statistics . so , for sample 3 galaxies ( both based on the bc03 and _ yggdrasil _ models ) we explicitly excluded all galaxies with @xmath111 for the @xmath32 computation , and we considered those excluded galaxies to be the outliers of our sample . we provide the statistics on the outlier fractions for the bc03-sed galaxies in table  [ tab : outliers_z7 ] .    for @xmath112 , the 8 nircam broad bands alone allowed us to derive accurate redshift estimates , with mean values for the redshift distributions close to 0 and @xmath113 at all redshifts ( fig . [ fig : z7_stn10 ] ) . the percentage of outliers quoted in table  [ tab : outliers_z7 ] is very small ( @xmath86 ) . adding miri photometry to the nircam photometry only slightly enhances the already excellent quality of the output redshifts , resulting in @xmath114 at all redshifts . these results indicate that the incorporation of the miri photometry to the nircam photometry has in practice little effect to derive photometric redshifts for @xmath7 galaxies with bc03-like seds when the nircam @xmath28 is very high . the miri effect to the photometric redshift estimation is more evident at @xmath115 ( fig . [ fig : z7_stn5 ] ) . the nircam data alone are sufficient for a reasonably good redshift recovery ( @xmath116 ) , but the addition of miri data improves the photometric redshift quality , taking the outlier percentage to @xmath117 ( when f560w photometry is included ) . inspection of fig .  [ fig : sed_z7 ] suggests that this is a k - correction effect : galaxies are brighter in the miri bands either because they are old or because of the presence of emission lines . indeed , both effects are important . in fig .  [ fig : z7_stn5el ] we show separately our results only for galaxies with emission lines : it can be seen that the effect of incorporating the miri photometry is similar as in the general case with @xmath115 . note that , on the one hand , the presence of emission lines helps in the redshift identification , but on the other hand having prominent emission lines in contiguous broad bands makes the observed photometry mimic a less featured sed , resulting in a more difficult redshift recovery .    in the case of @xmath63 at f150w ( fig . [ fig : z7_stn3 ] ) , assuming identical integration times in all nircam filters implies that some galaxies are undetected at the shortest wavelength nircam bands . in this case , having complementary miri photometry becomes very important , even with the assumption that we made here , i.e. , that the miri depth will be one magnitude shallower than the nircam depth at @xmath118 . this assumption is reasonable , as achieving the same depth as in nircam will require too long exposure times times longer with miri than with nircam ; see http://jwstetc.stsci.edu/etc/ ] . the result of this poorer - quality photometry is that the output redshift distributions are broader and secondary peaks at lower redshifts become more significant ( fig  [ fig : z7_stn3 ] ) . the incorporation of miri photometry has a significant effect in reducing the overall outlier fraction : it goes down from 10.1% with nircam data only to @xmath119 after adding the two miri bands ( table  [ tab : outliers_z7 ] ) . note that , among the two miri filters , f560w appears to have a more important effect in improving the @xmath3 determination of the bc03-sed sources at @xmath7 . as a summary , we conclude that considering miri photometry of one magnitude shallower depth than the nircam photometry keeps the fraction of @xmath3 outliers low for the @xmath68 galaxies which have a moderate or low @xmath28 in the nircam images . this effect is evident for different sed types ( with or without emission lines ) . figures [ fig : z7_yggsn10 ] to [ fig : z7_yggsn3 ] show the distributions of the recovered photometric redshifts for the sample 3 galaxies simulated with the _ yggdrasil _ templates at each fixed redshift , obtained by running _ lephare _ with different _ jwst _ filter combinations . the outlier percentages for each analysed @xmath28 value are listed in table [ tab : outliers_z7_ygg ] . _ yggdrasil _ templates are more complex than the bc03 ones , given that _ yggdrasil _ automatically incorporates nebular emission lines and continuum emission when galaxy ages are young and the gas covering factor is @xmath120 , which may be the case of many high-@xmath6 galaxies .    when considering objects with @xmath112 at f150w ( figure  [ fig : z7_yggsn10 ] ) , we see that the nircam data alone provides a good photometric redshift recovery ( @xmath121 ) . the incorporation of the miri bands has little effect on the resulting @xmath32 values in most cases and the fraction of catastrophic outliers is only slightly reduced ( see table  [ tab : outliers_z7_ygg ] )    as in the case of bc03-sed galaxies , the impact of incorporating miri photometry is more evident at @xmath115 at f150w ( figure  [ fig : z7_yggsn5 ] ) . the overall percentage of catastrophic outliers reduces from @xmath122 to @xmath123 by adding miri photometry in this case ( table  [ tab : outliers_z7_ygg ] ) . if we consider only those galaxies with emission lines in their seds ( i.e. , young and with gas covering factor @xmath124 ) , also at @xmath115 , we see two interesting effects ( figure  [ fig : z7_yggsn5el ] and table  [ tab : outliers_z7_ygg ] ) . firstly , the degeneracies in redshift space are more important than for the general galaxy sample with @xmath115 . this is manifested in a much larger outlier percentage , namely @xmath125 when considering the nircam data alone . secondly , the effect of incorporating miri photometry becomes more noteworthy : including both miri bands reduces the percentage of outliers to @xmath126 . these effects are produced by two reasons : on the one hand , the nebular line emission boosts the miri fluxes and , thus , the @xmath28 of the miri data . on the other hand , the multiple emission lines in the _ yggdrasil _ templates with nebular emission result in similarly bright observed fluxes in contiguous filters , masking the continuum sed shape and making the sed fitting more difficult ( as explained in section  [ sec : z7bc03 ] ) , so having a longer baseline is necessary for a proper redshift recovery .    for the lowest quality photometry ( @xmath63 ; figure  [ fig : z7_yggsn3 ] ) , the percentage of catastrophic outliers in the entire sample is @xmath127 using only nircam photometry . the advantage of incorporating miri data , which also have lower @xmath28 , is less obvious in this case , as the percentage of @xmath3 outliers still remains high even with the two miri bands ( @xmath128 ) . a significant fraction of galaxies are detected in only a few ( nircam and miri ) bands , so the photometry provides poor constraints for the sed fitting , making degeneracies in redshift space become evident .    indeed , as it is the case for the bc03-sed galaxies , the catastrophic outliers correspond mainly to sources with detections in four or less _ jwst _ bands ( empty regions in the histograms of figure  [ fig : z7_yggsn3 ] ) . however , in the case of the _ yggdrasil_-sed galaxies , the secondary peaks appearing in the output redshift distributions are quite more pronounced than for the bc03 galaxies . these secondary peaks are mainly produced by two kinds of templates that are not represented in our bc03-sed sample : 1 ) young galaxies with nebular emission . the combination of multiple emission lines and low @xmath28 produces an enhancement in the number of catastrophic outliers ; 2 ) young galaxies with @xmath59 ( i.e. , no emission lines ) and the highest extinction adopted to build our mock sample ( i.e. , @xmath129 ) . these galaxies have no analogues either in the bc03-based sample , as we explicitly incorporated the main emission lines in all galaxies with ages lower than the characteristic @xmath30 in the star formation history .    as a summary , we conclude that the benefit of considering miri photometry along with the nircam data for _ yggdrasil_-sed galaxies is mainly obvious for nircam sources with moderate @xmath28 values , and particularly helpful in the case of seds with nebular emission . at low @xmath28 the advantage is less obvious . this is in contrast to our conclusion for the bc03-sed galaxies , indicating that at low @xmath28 the importance of having miri data depends significantly on the galaxy spectral type .      in this section we show the miri magnitudes and nircam / miri colours of our simulated galaxies in sample 3 , as this can be a useful reference when planning _ jwst _ observations . in particular , we analyse how the miri detections vary with the galaxy sed type . given our chosen normalisation [ f150w]=29  mag , all these galaxies will easily be observed in nircam deep surveys ( as it takes only @xmath130  min integration per pointing to reach [ f150w]=29  mag , @xmath65 with nircam , according to the public _ jwst_/nircam exposure time calculator ) . so our aim here is to discuss the fractions of such galaxies that will be detected in typically deep miri observations . of course , these same results only need to be re - scaled to remain valid for other nircam magnitudes . figures [ fig : f560wcol_bc03 ] to [ fig : f770wcol_ygg ] show the expected miri magnitude distributions for our sample 3 galaxies generated with the bc03 and _ yggdrasil _ models . as the nircam f150w magnitude for all these galaxies has been fixed to [ f150w]=29  mag , there is a direct correspondence between the miri f560w magnitudes and the f150w - f560w colours , which are also shown in each plot . for the bc03 galaxies ( fig . [ fig : f560wcol_bc03 ] and [ fig : f770wcol_bc03 ] ) , we analysed separately the cases with and without emission lines , which here correspond to galaxies with ages lower and higher than their characteristic sfh decay parameter @xmath30 , respectively . for the _ yggdrasil _ galaxies ( fig . [ fig : f560wcol_ygg ] and [ fig : f770wcol_ygg ] ) , we analysed three cases : galaxies with ages larger that their constant star formation period , which are galaxies in passive evolution ; and galaxies which are still forming stars with two different gas covering factors : @xmath59 ( implying no line or nebular continuum emission ) and 1 ( with nebular emission ) . the median values of all distributions are provided in table  [ tab : medmag56 ] and [ tab : medmag77 ] . the magnitude distributions in fig . [ fig : f560wcol_bc03 ] show that the vast majority of bc03 galaxies with [ f150w]=29  mag at @xmath131 and 10 , and more than a half of those at @xmath132 , will be detected by a miri survey with a detection limit [ f560w]@xmath133  mag . this result is valid for galaxies with or without emission lines . all the latter are cases in which a @xmath134 break is at least partly developed , so the seds are brighter at the miri wavelengths than at @xmath118 , particularly at @xmath21 ( see fig . [ fig : sed_z7 ] ) . this k - correction effect makes that the median [ f560w ] value at this redshift is brighter for galaxies without emission lines , as those with emission lines correspond to younger galaxies with fainter continua which partly cancel the emission line flux enhancement ( table  [ tab : medmag56 ] ) . at @xmath135 and 10 , instead , the combination of the continuum k - correction and the nebular emission results in a net flux boosting in the case of emission - line galaxies .    for f770w ( fig . [ fig : f770wcol_bc03 ] ) , the flux enhancement due to the emission line presence is only evident at @xmath132 and 10 , as the h@xmath60 emission line enters the f770w wavelength window at these redshifts ( table  [ tab : medmag77 ] ) . most young galaxies at @xmath21 and 8 , instead , remain below our reference [ f770w]=28  mag detection limit , as their continua are blue and no emission line is present in this filter to help with the detection . so , the f770w filter will only allow us to detect evolved galaxies at @xmath68 or young line emitters at @xmath132 and 10 to a [ f770w]=28  mag cut . the vast majority of the _ yggdrasil_-sed galaxies with [ f150w]=29  mag that finished forming stars at @xmath68 will have mag@xmath11 in both miri bands ( fig . [ fig : f560wcol_ygg ] and [ fig : f770wcol_ygg ] , and tables  [ tab : medmag56 ] and [ tab : medmag77 ] ) . this is the result of the same k - correction effect discussed before .    for the _ yggdrasil _ star - forming galaxies , there is a clear enhancement of the miri fluxes produced by the nebular lines ( compare the cases with @xmath59 and 1 in fig . [ fig : f560wcol_ygg ] and [ fig : f770wcol_ygg ] and the corresponding tables ) . in this case , the flux enhacement is more obvious that for the bc03 templates because here we are comparing only young galaxies with and without lines ( segregated by their different gas covering factors ) , so all their continua are similarly blue . in both cases , however , the median miri magnitude values are @xmath136  mag . this implies that a miri galaxy survey to our reference depth will only detect a minority of star - forming galaxies with [ f150w]=29  mag at @xmath68 if their seds are similar to the _ yggdrasil _ templates . note that these galaxies are considerably brighter in f560w if they are at @xmath21 or 8 , while slightly brighter in f770w if at @xmath132 or 10 . note that , conversely , our colour analysis shows that detecting more than a half of red miri galaxies at @xmath68 will require nircam data at least three magnitudes deeper . this is the case both for ` passive galaxies ' ( galaxies which finished forming stars ) and for galaxies which are red simply because of the presence of prominent emission lines . so , as a summary , ` old ' galaxies at @xmath68 will easily be detected with miri in reasonably deep surveys , independently of their galaxy type . for young galaxies , the situation is more complex , as it depends on to which extent line emission can compensate for the very faint continua which is characteristic in these sources . f560w will provide more detections than f770w if maps of the same depth are obtained in both passbands . cccccc[ht ! ] 7 & 26.86 & 27.08 & 26.28 & 29.50 & 28.47 + 8 & 26.77 & 26.49 & 25.96 & 29.43 & 28.32 + 9 & 27.12 & 28.08 & 26.66 & 29.35 & 29.15 + 10 & 26.96 & 26.17 & 26.44 & 29.27 & 28.72 +    cccccc[ht ! ] 7 & 26.70 & 28.64 & 26.10 & 29.64 & 29.05 + 8 & 26.59 & 28.68 & 25.80 & 29.62 & 29.13 + 9 & 26.98 & 27.52 & 26.44 & 29.58 & 28.87 + 10 & 26.79 & 26.51 & 26.24 & 29.47 & 28.53 + in this work we have tested the impact of having data in different _ jwst _ filter combinations on deriving photometric redshifts for galaxies at different redshifts . we considered the 8 nircam broad bands and the two shortest wavelength miri bands ( f560w and f770w ) , which are the most sensitive ones and , thus , those which will be preferred for the study of high-@xmath6 galaxies . in addition , we also investigated the effect of having ( or not ) ancillary photometry from _ hst _ and ground - based telescopes at wavelengths shorter than those to be observed with _ jwst _ ( i.e. , @xmath2 ) . we performed our tests on three galaxy samples with known input redshifts : a sample of 2422 galaxies with spectroscopic redshifts @xmath19 ( sample 1 ) ; a sample of 1375 galaxies with candels consensus photometric redshifts at @xmath20 ( sample 2 ) ; and a sample of 2124 mock galaxies at @xmath7 ( sample 3 ) , whose seds have been simulated with two template libraries , namely bc03 with manual addition of the main emission lines for star - forming galaxies ( considered as those with age lower than the characteristic @xmath30 of the star formation history ) , and the _ yggdrasil _ library . besides , for sample 3 we also explicitly investigated the effect of having photometry with different @xmath28 values on the ability to recover the galaxy redshifts . in samples 1 and 2 , more than 90% of galaxies have f150w photometry with @xmath108 , so the test results based on these samples are not affected by the photometric quality . these three samples altogether have allowed us to assess different effects in the photometric redshift estimation , such as the presence of high-@xmath6 contaminants and the leakage of high-@xmath6 sources towards low @xmath6 . note that our three samples are not meant to emulate a real galaxy population selected from a _ jwst _ nircam or miri blank field , but rather sample the typical redshifts and sed types of the galaxies that will be observed in these surveys , in order to test potential problems in the @xmath3 derivation . our main results are :    @xmath137 _ the nircam broad bands alone are not sufficient to obtain good - quality photometric redshift estimates at low and intermediate redshifts ( @xmath138)_. for sample 1 , which is optimised to study the redshift range @xmath139 , the use of nircam data alone results in a high photometric redshift dispersion and outlier percentage ( @xmath140 ) . in sample 2 , which is particular suited to study the leakage of @xmath20 sources to low @xmath6 due to redshift failure , we found that @xmath141 ( @xmath95 ) of the input sources with @xmath92 ( @xmath94 ) are misidentified as lower @xmath6 galaxies . these effects are smaller at @xmath142 , as the lyman break is shifted into the nircam bands . @xmath137 _ having photometry in the hst f435w and f606w bands , and if possible also in the ground - based @xmath67 band , is very important to have the fraction of low-@xmath6 contaminants under control_. this photometry is important to constrain the lyman break shift and , thus , the redshifts of low-@xmath6 sources . indeed , in sample 1 the percentage of low-@xmath6 outliers changes from @xmath140 to @xmath143 , and the normalised redshift difference distribution r.m.s . reduces in 40% . in sample 2 , the percentage of sources leaking from @xmath92 ( @xmath94 ) to lower @xmath6 reduces from @xmath141 ( @xmath95 ) to @xmath97 ( @xmath29 ) . at @xmath94 , the reduction in the percentage of leaking sources is exclusively due to the incorporation of the _ hst _ bands . the additional incorporation of @xmath67-band data has no effect because the lyman break shifts inside the _ hst _ wavelength range at these redshifts . @xmath137 _ miri f560w and f770w data can help mitigate the absence of photometry at @xmath2_. in sample 1 , we found that the percentage of contaminants reduces from 41% ( 22% ) to @xmath144 ( @xmath145 ) at @xmath92 ( @xmath94 ) , by complementing the nircam data only with miri data in the photometric input catalogue . for the leaking sources in sample 2 , the addition of miri photometry to the nircam data reduces the percentage of outliers from @xmath141 ( @xmath95 ) to @xmath99 ( @xmath100 ) at the same redshifts . when both the _ hst _ and miri photometry are considered along with the nircam photometry , the percentage of leaking sources from @xmath92 goes down to @xmath146 . @xmath137 among the different photometric configurations tested here , the miri f560w and f770w bands are the only ones that can meaningfully complement the nircam data in galaxy studies at @xmath147 . the importance of the _ hst _ data at @xmath2 becomes negligible once the lyman break shifts within the nircam bands , except to confirm the expected non - detections . @xmath137 for photometry with f150w @xmath112 , the nircam data alone allows for accurate redshift estimates for galaxies at @xmath148 in most cases . we found that the r.m.s . of the @xmath149 distributions for sample 3 range between @xmath114 and 0.02 with nircam data alone at all high @xmath6 . the addition of miri photometry has a mild effect , being useful to enhance the accuracy of the derived @xmath3 . @xmath137 for sources with f150w @xmath115 , the benefit of incorporating miri photometry becomes more evident . in our reference case , in which the miri depth is one magnitude brighter than the nircam f150w depth , the incorporation of miri data significantly reduces the fraction of outliers with respect to the case with nircam data alone . this improvement is particularly noteworthy in the case of _ yggdrasil_-sed galaxies with emission lines , as the multiple nebular lines coupled with a moderate - quality @xmath28 make the sed fitting more challenging . the miri bands help extend the wavelength baseline for the sed fitting , and thus using nircam and miri data altogether results in a clear redshift recovery improvement . @xmath137 at f150w @xmath63 , the role of miri data in improving the redshift determination depends very much on the sed type . as ` old ' galaxies are red , miri fluxes are brighter that nircam fluxes , so the incorporation of the miri data is of clear benefit for these sources . for star - forming galaxies , the presence of emission lines in the miri bands boosts the miri fluxes , but at the same time these galaxies have bluer continua , so the net effect is more variable in these cases . @xmath137 at fixed @xmath28 , _ the presence of multiple emission lines , like in the case of nebular emission , makes the correct redshift identification much more difficult . _ although the emission lines enhance the fluxes , the presence of emission lines in all passbands make the filter - convolved seds rather featureless and the sed fitting becomes more complicated . in addition , we analysed the miri magnitudes of our sample 3 simulated galaxies at @xmath68 . as we have normalised all the seds to [ f150w]=29  mag , the f150w - miri colours directly correspond to miri magnitude values . analysing this expected miri photometry has allowed us to assess what types of high-@xmath6 galaxies will likely be detected in miri deep surveys . for a different f150w normalisation , one simply has to scale these results , as the galaxy colours are fixed for each sed model . we found that a miri survey with a detection limit of [ f560w]=@xmath150  mag should enable the detection of the vast majority of the nircam sources with [ f150w]=29  mag at @xmath7 , provided that these sources are at least mildly evolved . the youngest galaxies which are still forming stars ( _ yggdrasil_-sed galaxies with ages @xmath151 ) will remain mostly undetected . although in the case of gas covering factor @xmath124 the nebular lines make the miri fluxes much brighter than in the case of @xmath59 , the continua of these young galaxies are very blue , so the resulting miri fluxes are not very high even in the case of nebular emission .    at the same miri reference depth , the f770w filter will provide less detections than the f560w filter at @xmath68 . among the nircam sources with [ f150w]=29  mag , evolved galaxies at @xmath68 and some line emitters at @xmath132 and 10 will be detected in f770w , but very few line emitters at @xmath21 and 8 . conversely , our colour analysis shows that detecting the majority of red miri galaxies at @xmath68 will require nircam data at least three magnitudes deeper . this is the case both for ` passive galaxies ' ( galaxies which finished forming stars ) and for galaxies which are red simply because of the presence of main emission lines .    as an overall summary , we argue that the results presented here constitute a useful reference for designing deep imaging surveys with _ jwst_. we conclude that nircam and miri will have complementary roles and the optimal observing strategy and filter combination to be adopted will depend on each observing program s science goals . as adding miri imaging to the nircam observations would significantly enlarge the requested observing times , observers must clearly assess the need and importance of the former for their specific studies . miri observations with both the f560w and f770w filters are necessary along with the nircam data if a correct identification of low and moderate redshift ( @xmath138 ) sources are desired in fields without @xmath152 coverage . alternatively , a less expensive strategy would be limiting galaxy surveys to fields with ancillary @xmath152 data of matching depth and obtaining only nircam data , but the lack of any miri imaging would still result in a slightly higher percentage of redshift outliers and a lower overall recovered - redshift precision . if the main science goal is simply identifying the bulk of the galaxy population at @xmath7 , proposing an observing program based on ultra - deep nircam data alone will be adequate . however , adding miri imaging will help improve the identification of red sources and is of utmost importance to recover stellar ages and stellar masses at @xmath54 ( bisigello et al . , in prep . ) therefore , observing with both cameras will be necessary for a comprehensive study of galaxy evolution since early cosmic times . this work is partly based on observations taken with the nasa / esa _ hubble space telescope _ , which is operated by the association of universities for research in astronomy , inc . , under nasa contract nas5 - 26555 ; with the _ spitzer space telescope _ , which is operated by the jet propulsion laboratory , california institute of technology under a contract with nasa ; and the very large telescope operated by the european southern observatory ( eso ) at cerro paranal . lb and kic acknowledge the support of the nederlandse onderzoekschool voor de astronomie ( nova ) . kic also acknowledges funding from the european research council through the award of the consolidator grant i d 681627-buildup . olf acknowledges funding from the european research council advanced grant i d 268107-early . pgp - g acknowledges support from the spanish government mineco grants aya2012 - 31277 and aya2015 - 70815-erc . lg acknowledges support from the spanish government mineco grants aaya2012 - 32295 . jp acknowledges the uk science and technology facilities council and the uk space agency for their support of the uk s _ jwst _ miri development activities . we thank macarena garca - marn , alistair glasse and lvaro labiano for providing us the most updated versions of the _ jwst _ miri filter transmission curves . we also thank an anonymous referee for a careful and constructive report . anders , p. , & fritze - v . alvensleben , u.  2003 , , 401 , 1063 arnouts , s. , cristiani , s. , moscardini , l. , et al .  1999 , , 310 , 540 ashby , m. l. n. , willner , s. p. , fazio , g. g. , et al . 2015 , , 218 , 33 balestra , i. , mainieri , v. , popesso , p. , et al . 2010 , , 512 , a12 baum , w.  a.  1957 , , 62 , 6 bouchet , p. , garca - marn , m. , lagage , p .- o . , et al . 2015 , , 127 , 612 bruzual , g. , & charlot , s.  2003 , , 344 , 1000 bunker , a.  j. , stanway , e.  r. , ellis , r.  s. , mcmahon , r.  g. , & mccarthy , p.  j.  2003 , , 342 , l47 calzetti , d. , armus , l. , bohlin , r.  c. , et al . 2000 , , 533 , 682 caputi , k.  i. , dunlop , j.  s. , mclure , r.  j. , et al .  2012 , 750 , l20 caputi , k.  i. , ilbert , o. , laigle , c. , et al . 2015 , , 810 , 73 cardamone , c.  n. , van dokkum , p.  g. , urry , c.  m. , et al . 2010 , , 189 , 270 cristiani , s. , appenzeller , i. , arnouts , s. , et al . 2000 , , 359 , 489 croom , s.  m. , warren , s.  j. , & glazebrook , k.  2001 , , 328 , 150 dahlen , t. , mobasher , b. , faber , s.  m. , et al . 2013 , , 775 , 93 dickinson , m. , stern , d. , giavalisco , m. , et al . 2004 , , 600 , l99 doherty , m. , bunker , a.  j. , ellis , r.  s. , & mccarthy , p.  j.  2005 , , 361 , 525 faisst , a.  l. , capak , p. , hsieh , b  c. , et al . ,  2016 , , 821 , 122 fumagalli , m. , patel , s.  g. , franx , m. , et al . 2012 , , 757 , l22 gardner , j.  p. , mather , j.  c. , clampin , m. , et al . 2009 , , 10 , 1 glasse , a. , rieke , g.  h. , bauwens , e. , et al . 2015 , , 127 , 686 grogin , n.  a. , kocevski , d.  d. , faber , s.  m. , et al . 2011 , , 197 , 35 guo , y. , ferguson , h.  c. , giavalisco , m. , et al . 2013 , , 207 , 24 ilbert , o. , arnouts , s. , mccracken , h.  j. , et al . 2006 , , 457 , 841 ilbert , o. , capak , p. , salvato , m. , et al . 2009 , , 690 , 1236 koekemoer , a.  m. , faber , s.  m. , ferguson , h.  c. , et al . 2011 , , 197 , 36 konno , a. , ouchi , m. , ono , y. , et al . 2014 , , 797 , 16 kroupa , p.  2001 , , 322 , 231 kurk , j. , cimatti , a. , daddi , e. , et al . 2013 , , 549 , a63 le fvre , o. , vettolani , g. , garilli , b. , et al . 2005 , , 439 , 845 le fvre , o. , tasca , l. a. m. , cassata , p. , et al . ,  2015 , , 576a , 79 madau , p.  1995 , , 441 , 18 meyer , m.  r. , rieke , m. , eisenstein , d. , et al . 2004 , bulletin of the american astronomical society , 37 , 180.09 mignoli , m. , cimatti , a. , zamorani , g. , et al . 2005 , , 437 , 883 morris , a.  m. , kocevski , d.  d. , trump , j.  r. , et al . 2015 , , 149 , 178 oke , j.  b. , gunn , j.  e. , 1983 , , 266 , 713 pentericci , l. , vanzella , e. , fontana , a. , et al . 2014 , , 793 , 113 popesso , p. , dickinson , m. , nonino , m. , et al . 2009 , , 494 , 443 ravikumar , c.  d. , puech , m. , flores , h. , et al . 2007 , , 465 , 1099 rafelski , m. , teplitz , h.  i. , gardner , j.  p. , et al . 2015 , , 150 , 31 rieke , m.  j. , kelly , d. & horner , s.  2005 , spie , 5904 , 1 rieke , g.  h. , wright , g.  s. , bker , t. , et al . 2015 , , 127 , 584 schaerer , d.  2002 , , 382 , 28 silverman , j.  d. , mainieri , v. , salvato , m. , et al . 2010 , , 191 , 124 smit , r. , bouwens , r.  j. , labb , i. , et al . 2015 , arxiv:1511.08808 stanway , e.  r. , glazebrook , k. , bunker , a.  j. , et al . 2004 , , 604 , l13 stanway , e.  r. , bunker , a.  j. , mcmahon , r.  g. , et al . 2004 , , 607 , 704 stark , d.  p. , schenker , m.  a. , ellis , r. , et al . 2013 , , 763 , 129 strolger , l .- g . , riess , a.  g. , dahlen , t. , et al . 2004 , , 613 , 200 szokoly , g.  p. , bergeron , j. , hasinger , g. , et al . 2004 , , 155 , 271 vanzella , e. , fontana , a. , pentericci , l. , et al . 2014 , , 569 , a78 van der wel , a. , franx , m. , van dokkum , p.  g. , & rix , h .- w . 2004 , , 601 , l5 wright , g.  s. , wright , d. , goodson , g.  b. , et al . 2015 , , 127 , 595 zackrisson , e. , rydberg , c .- e . , schaerer , d. , stlin , g. , & tuli , m.  2011 , , 740 , 13 in section  [ sec_sample3descr ] we considered four redshifts for our sample 3 analysis : @xmath21 , 8 , 9 and 10 . these four redshifts are representative of most of the entire redshift range @xmath7 , except for a few exception that we study here . for this analysis , we considered only bc03 templates to which we manually added the main emission lines . we analysed how these emission lines move in and out nircam and miri filters to identify all possible configurations ( fig . [ fig : el_band ] ) . for each filter , we only took into account the wavelength range where its transmission is above 20@xmath84 . to cover the redshift ranges that are unrepresented by our original analysis ( corresponding to the shaded areas in fig . [ fig : el_band ] ) , we re - tested the sample 3 redshift recovery at four additional redshifts , namely , @xmath153 and @xmath154 . the results of our new tests are shown in fig .  [ fig : newz ] ( for @xmath115 ) . at @xmath155 , the main difference respect to the @xmath21 configuration is that the [ oiii ] line moves out of the f356w nircam filter while h@xmath156 is still inside . the results when using nircam broad bands alone are very similar to the @xmath21 case , with similar r.m.s . values , 0.023 in this case ( compared with 0.025 at @xmath21 ) and similar distribution shape . the number of outliers decreases from @xmath157 to 0 when adding the f560w band , but it does not change when adding the f770w band . also the r.m.s . improves more when adding the f560w filter rather than with the f770w one .    at @xmath158 the main difference respect to the @xmath21 configuration and the previous one is that there are no emission lines inside the f356w band . when using nircam bands alone , it is already possible to obtain a good redshift estimation with totally no outliers and a small r.m.s .. this is because the absence of emission line inside the f356w band creates a strong contrast with the closest bands , allowing the code to properly identify the main sed features . moreover , this contrast happens in a narrow redshift range , confining the range of possible redshift solutions and producing a very small r.m.s . this is the most favourable configuration for the nircam bands among all considered redshifts . by adding the miri bands there is only a slight improvement to the already good redshift estimation . the case of @xmath159 is representative of the redshift range where no emission lines at all are present in the miri bands , while [ oiii ] , h@xmath156 and [ oii ] are inside the nircam wavelength range . the main difference between this case and the @xmath135 one is that the flux observed in the f115w band , where the lyman break falls , is fainter and more often is below the 2@xmath32 detection limit . when using the nircam bands only the derived distribution is broad , but there are almost no outliers ( 0.5@xmath84 ) . when adding the miri bands , and in particular the f560w band , the r.m.s . becomes about a half . finally , the @xmath160 case corresponds to a redshift in which [ oiii ] is just outside the f444w band , but h@xmath156 is still inside , while the opposite situation happens in the f560w miri band . the redshift estimation with nircam bands alone is generally good , with an r.m.s . of 0.019 and only one outlier . when adding the miri bands , there is a slight improvement in the redshift estimation ( r.m.s.@xmath32=0.012 ) and no outliers .    the cases presented here are slightly different from the cases presented in the main body of the paper , but do not lead to any significantly different conclusion . considering all eight analysed redshifts and @xmath115 , the redshift estimation by using only nircam broad bands alone is particularly good at @xmath161 and @xmath162 , but is the worst at @xmath159 and @xmath163 . adding miri bands , the redshift estimation improves at all considered redshifts , and , in the majority of cases , f560w decreases the r.m.s . a bit more than f770w . in sample 3 we derived fluxes for all nircam broad bands assuming the same integration time for all of them . however , the sensitivity of nircam peaks around 2 @xmath14 m , so different integration times could be considered in order to compensate for different sensitivities . therefore , we tested this alternative scenario by considering observations of the same depth for all nircam bands , i.e. , the f150w band depth , and we re - derived photometric redshifts for all galaxies in sample 3 . in particular , this method implies deeper observations for the less sensitive bands , i.e. f070w , f090w , f115w and f444w , respect to the method considered before , but shallower observations for the most sensitive bands , i.e. f200w and f277w . we did this test for both bc03 and yggdrasil templates and for all three @xmath28 values considered before ( 3,5 and 10 ) . we compared the mean and r.m.s . of the normalised redshift difference @xmath164 for the current case and that where we assumed the same integration time in all nircam filters . our results are shown in table  [ tab : samestn ] , while the r.m.s . values are also shown in figure  [ fig : rms_comparison ] . at @xmath112 , the derived results considering the same depth are slightly better or similar than the one derived with the same integration times . on the other hand , at @xmath63 , results are similar or slightly worse . at @xmath115 the results are mixed , depending on the type of template and redshift considered . these results reveal a different importance of deep observations with the most sensitive and less sensitive nircam bands . in particular , deep observations with the less sensitive bands seem to improve results generally when the @xmath28 is high , while deep observations with the most sensitive bands are more crucial at low @xmath28 values . it is worth noticing that , despite the fact that reaching the same depth in all nircam filters improves the results derived using nircam bands alone , these results are still worse that those derived using nircam and miri bands together . c|ccc|ccc[ht ! ] z=7 ( bc03 ) & -0.009@xmath1650.011 & -0.030@xmath1650.025 & -0.057@xmath1650.030 & -0.007@xmath1650.005 & -0.030@xmath1650.022 & -0.070@xmath1650.036 + z=8 ( bc03 ) & -0.021@xmath1650.009 & -0.031@xmath1650.013 & -0.018@xmath1650.031 & -0.017@xmath1650.009 & -0.023@xmath1650.014 & -0.025@xmath1650.031 + z=9 ( bc03 ) & -0.003@xmath1650.008 & 0.001@xmath1650.028 & -0.018@xmath1650.032 & -0.003@xmath1650.007 & 0.003@xmath1650.023 & -0.011@xmath1650.032 + z=10 ( bc03 ) & -0.002@xmath1650.010 & -0.006@xmath1650.014 & -0.083@xmath1650.029 & -0.002@xmath1650.009 & -0.080@xmath1650.011 & -0.042@xmath1650.031 + z=7 ( ygg ) & 0.001@xmath1650.020 & -0.067@xmath1650.026 & -0.233@xmath1650.029 & -0.005@xmath1650.018 & -0.036@xmath1650.023 & -0.209@xmath1650.028 + z=8 ( ygg ) & -0.022@xmath1650.012 & -0.209@xmath1650.018 & -0.237@xmath1650.024 & -0.018@xmath1650.011 & -0.164@xmath1650.019 & -0.246@xmath1650.025 + z=9 ( ygg ) & 0.005@xmath1650.019 & -0.084@xmath1650.028 & -0.290@xmath1650.037 & -0.001@xmath1650.013 & -0.031@xmath1650.032 & -0.244@xmath1650.036 + z=10 ( ygg ) & -0.013@xmath1650.011 & -0.122@xmath1650.028 & -0.338@xmath1650.030 & -0.015@xmath1650.011 & -0.070@xmath1650.024 & -0.307@xmath1650.035 +
Abstract:

Answer: the determination of galaxy redshifts in _ james webb space telescope ( jwst ) s _ blank - field surveys will mostly rely on photometric estimates , based on the data provided by _ jwst s _ near - infrared camera ( nircam ) at @xmath0 and mid infrared instrument ( miri ) at @xmath1 . in this work we analyse the impact of choosing different combinations of nircam and miri broad - band filters ( f070w to f770w ) , as well as having ancillary data at @xmath2 , on the derived photometric redshifts ( @xmath3 ) of a total of 5921 real and simulated galaxies , with known input redshifts @xmath4 . we found that observations at @xmath5 are necessary to control the contamination of high-@xmath6 samples by low-@xmath6 interlopers . adding miri ( f560w and f770w ) photometry to the nircam data mitigates the absence of ancillary observations at @xmath5 and improves the redshift estimation . at @xmath7 , accurate @xmath3 can be obtained with the nircam broad bands alone when @xmath8 , but the @xmath3 quality significantly degrades at @xmath9 . adding miri photometry with one magnitude brighter depth than the nircam depth allows for a redshift recovery of @xmath10 , depending on sed type , and its effect is particularly noteworthy for galaxies with nebular emission . the vast majority of nircam galaxies with [ f150w]=29  ab  mag at @xmath7 will be detected with miri at [ f560w , f770w]@xmath11  mag if these sources are at least mildly evolved or have spectra with emission lines boosting the mid - infrared fluxes .