 continuum photons instead of line photons, causing the count spectrum to have a less significant line than the photon spectrum. A solar gamma-ray spectrometer with a heavy anticoincidence shield, such as the Gamma-Ray Spectrometer on the [*Solar Maximum Mission*]{} [@forrest80], would be less susceptible to all these instrumental effects, and the line-to-continuum ratios would be much more similar in the count and photon spectra.

### Interactions of Accelerated Protons {#sec:proton}

We also simulated the interaction between accelerated protons and the solar atmosphere. The simulated solar atmosphere was the same as in the electron simulations. As discussed above, we are at this time simulating only the production of pions and their secondaries, not nuclear excitation, spallation, and radioactive decay. We simulated downward beamed and downward isotropic proton distributions, with results shown in Table \[tab:p\] and Figure \[fig:proton\_out\]. A pancake distribution of protons is not included, since it has been ruled out for at least one gamma-ray flare by observations of strong redshifts in the nuclear de-excitation lines [@smith03].

The shape of the outgoing spectrum changes little when the angular and spectral distributions of the protons are varied, but the overall gamma-ray luminosity is greater for harder spectral indices and for the more isotropic distribution. This is expected, since pions are produced only by the highest-energy protons and since the downward-isotropic distribution will produce some pions at shallower column depths where photons are better able to escape (see below). The spectra observed at $0.2<\cos\beta<0.4$ extend to higher energy because more photons emerge without scattering.

  --------------- ---------- -------------------- -------- ---------- -------- ---------- --------- --------- ---------
      Angular      Spectral        Viewing                                                                    
   Distribution     Index     Angle (cos$\beta$)                                                              
                                                   (sim.)   (cnvlv.)   (sim.)   (cnvlv.)     511       200      8–15
   Downward iso.     2.2            $>0.8$          57.6      15.3      4.51      0.72     1.9e-3    3.36e-5   4.3e-4
                     3.2                            71.6      17.0      6.40      0.80     3.0e-4    4.
continuum photons instead of line photons, cause the count spectrum to take a less significant line than the photon spectrum. A solar gamma - beam spectrometer with a heavy anticoincidence carapace, such as the Gamma - Ray Spectrometer on the [ * Solar Maximum Mission * ] { } [ @forrest80 ], would be less susceptible to all these instrumental effects, and the line - to - continuum ratio would be much more similar in the count and photon spectra. 

 # # # interaction of Accelerated Protons { # sec: proton } 

 We also simulated the interaction between accelerated proton and the solar atmosphere. The simulated solar atmosphere was the same as in the electron simulations. As discussed above, we are at this time imitate only the production of pions and their secondary coil, not nuclear excitation, spallation, and radioactive decay. We simulated downward beamed and down isotropic proton distributions, with resultant role shown in Table \[tab: p\ ] and Figure \[fig: proton\_out\ ]. A pancake distribution of protons is not included, since it has been rule out for at least one gamma - ray flare by observations of strong redshifts in the nuclear de - excitation lines [ @smith03 ]. 

 The shape of the outgoing spectrum changes little when the angular and spectral distributions of the protons are varied, but the overall gamma - beam luminosity is greater for harder apparitional exponent and for the more isotropic distribution. This is expect, since pions are produced only by the highest - energy protons and since the downward - isotropic distribution will grow some pions at shallower column depths where photons are better able to escape (visualize below). The spectra observed at $ 0.2<\cos\beta<0.4 $ extend to higher energy because more photons issue without scattering. 

   --------------- ---------- -------------------- -------- ---------- -------- ---------- --------- --------- --------- 
       Angular       Spectral         Viewing                                                                    
    Distribution      Index      Angle (cos$\beta$)                                                              
                                                    (sim .)    (cnvlv .)    (sim .)    (cnvlv .)      511        200       8–15 
    Downward iso.      2.2             $ > 0.8 $           57.6       15.3       4.51       0.72      1.9e-3     3.36e-5    4.3e-4 
                      3.2                             71.6       17.0       6.40       0.80      3.0e-4     4.
 cojtinuum photons instead uf line photons, causinj the ckunt speztrum to have a less signifirant line than the photon spectfum. A solwr gamma-eay wpectrometec with a heavy wntieomncidence shielc, such as dhe Gamma-Ray S[eztxometer on the [*Solar Maximum Mission*]{} [@forresy80], aould be less fusctptyble no all these instrumental effecfs, and uhe line-to-continuuk ratios would be much morf sililar in the count and photon spesrra.

### Interactkons of Acbzlerated Prktons {#sec:proton}

We also simulatea the interactiin behfeen accelecated irotons and tmv solar atmospnere. The simulstev sooar atmosphere was thx same as in the elestron simglctions. As discussed avoce, we are at gyis tije sjmulatlng only the lroduction if pions and their xesindaries, not hucleaw qxcitation, spallation, and radioactive dtcay. Se simulated downward bwamed and downward isltropic pwoton distributions, with results shown in Table \[tdb:p\] aid Fiymve \[fkt:pgoton\_out\]. A pancake distribution of protons is hou ikcluded, since it has been rilfd jut for at lexst onz gzmma-ray flare by ohservatyons if strong redxhifts in the nuclear de-excutation linef [@smith03].

The shape of the outgoiug spevtrum changes little when thz angumar and speftral disffibutions of the prptmns are varied, but the ovewall gamme-ray kuminoskty os grewter for hwrder spectral indices ajd fot the kore isotrlpic distribution. This is expecvxd, since pionx dre produceb only by the higheft-energy protous and snnce tfe downwars-isotro'ic distribueion will progoce some pionv at shajlowwr cilumn ddoths where phoyons are yttter able to escape (see belpw). Jhs spectra obserrtd qt $0.2<\cos\beta<0.4$ extemd go rihhxr enqsgy because kore phuyons dmerge withijt svattering.

  --------------- ---------- -------------------- -------- ---------- -------- ---------- --------- --------- ---------
      Angular      Spevtval        Viewind                                                                    
   Distrjbution     Lndex     Angje (cis$\beta$)                                                              
                                                   (sim.)   (cnvlv.)   (sum.)   (cnvlv.)     511       200      8–15
   Downwars iso.     2.2            $>0.8$          57.6      15.3      4.51      0.72     1.9e-3    3.36e-5   4.3e-4
                     3.2                            71.6      17.0      6.40      0.80     3.0e-4    4.
continuum photons instead of line photons, causing spectrum have a significant line than gamma-ray with a heavy shield, such as Gamma-Ray Spectrometer on the [*Solar Maximum [@forrest80], would be less susceptible to all these instrumental effects, and the line-to-continuum would be much more similar in the count and photon spectra. ### Interactions Accelerated {#sec:proton} also the interaction between accelerated protons and the solar atmosphere. The simulated solar atmosphere was the same in the electron simulations. As discussed above, we at this time simulating the production of pions and secondaries, nuclear excitation, and decay. simulated downward beamed downward isotropic proton distributions, with results shown in Table \[tab:p\] and Figure \[fig:proton\_out\]. A pancake distribution of is not it has ruled for least one gamma-ray observations of strong redshifts in the [@smith03]. The shape of the outgoing spectrum changes when the and spectral distributions of the protons varied, but the overall gamma-ray luminosity is greater harder spectral indices and for the more isotropic distribution. This is expected, since pions are by the highest-energy protons since the downward-isotropic will some at column depths photons are better able to escape (see below). The spectra observed $0.2<\cos\beta<0.4$ extend to higher energy because more photons emerge without ---------- -------- ---------- -------- --------- --------- --------- Angular Viewing Index Angle (cos$\beta$) (sim.) (cnvlv.) 200 2.2 57.6 4.51 0.72 1.9e-3 3.36e-5 3.2 71.6 17.0 6.40 0.80 4.
 continuum photons instead of Line photonS, causIng The CoUnt sPectRum to have a less SIgniFicant line than the photoN specTrUM. A soLAr Gamma-Ray specTRoMETer WiTh A heAvY AnTicoiNciDence shIeld, such as The gaMma-Ray SpectrOMeTer on the [*SoLar maximum MissiOn*]{} [@fOrrest80], WoUld BE less SusCeptiBle to aLL these InstrumenTaL EffectS, And the lINE-tO-conTinuum ratios would BE mUCh more similar iN the coUnT AnD PHotOn sPectra.

### InteRaCtionS Of AccelERaTED proTOns {#sec:proton}

WE also simulaTEd tHe inteRaCtiON betweEn accElERatEd protons anD the Solar atmoSphere. tHe simulATed solaR atmosPheRe wAs thE SaMe As iN tHE elECtRon SImuLations. AS dIsCusseD aboVE, WE Are aT thIs tiMe simUlating only thE prOducTIon Of pioNs and TheiR sEcondAries, nOt nucLeAr excitation, spaLlatIon, and radIoaCtIve DeCay. We SImulatEd dOwnWard beaMed and dOWnwArD ISOtRopic proton distribUtIONs, With resuLts shoWN iN TABle \[tab:p\] aNd figUre \[fIG:ProtoN\_out\]. a PaNcake disTributIOn Of Protons Is Not incLuDed, SinCe it hAS beeN ruled Out for at Least ONe gamma-ray flarE By observationS Of STRoNG redShiFts in the nucLear DE-excItatIOn LinES [@smitH03].

The sHaPE oF The outgoing spectrum ChAnges lIttle When the angulaR and spectrAL DIstributIons OF tHE protons are varIed, buT the overalL Gamma-ray LuminOsity is gReater for HARder specTraL inDicEs aND FoR the more isotrOPIc diStRibutioN. ThIs is expEctEd, sIncE piOnS are produCed only bY tHe HiGhEst-EnergY Protons aNd SinCe The DownwARd-isotRopic DistRiBuTIon Will proDUcE SOme pIoNs At shAllOwEr colUmn dEPthS where pHotons are BetTEr abLe To Escape (sEe below). The speCtRa observed At $0.2<\Cos\Beta<0.4$ exTENd to highEr energy because more photONs emergE wiThout ScatTering.

  --------------- ---------- -------------------- -------- ---------- -------- ---------- --------- --------- ---------
      AngUlaR      SpectRal        vIewing                                                                    
   distriButioN     INdeX     aNgle (cOS$\BeTa$)                                                              
                                                   (sIm.)   (Cnvlv.)   (sim.)   (cnVLV.)     511       200      8–15
   DoWnwarD iSo.     2.2            $>0.8$          57.6      15.3      4.51      0.72     1.9e-3    3.36e-5   4.3E-4
                     3.2                            71.6      17.0      6.40      0.80     3.0e-4    4.
 continuum photons instead  of line p hoton s,cau si ng t he c ount spectrumt o ha ve a less significantlineth a n th e  p hoton  spectr u m. A  so la rgam ma - ra y spe ctr ometerwith a hea vyan ticoincidenc e  s hield, suc h a s the Gamma- Ray  Spect ro met e r onthe  [*So lar Ma x imum M ission*]{ }[ @forre s t80], w o u ld  beless susceptiblet oa ll these instr umenta le ff e c ts,  an d the line -t o-con t inuum r a ti o s wou l d be much mor e similar i n  th e coun tand photon  spec tr a .
### Interac tion s of Acce lerate d  Proton s  {#sec: proton }
Wealso si mu lat ed the in ter a cti on betwe en  a ccele rate d p r oton s a nd t he so lar atmospher e.Thes imu lated  sola r at mo spher e wasthe s am e as in the ele ctro n simulat ion s.  As  d iscus s ed abo ve,  we  are at  this t i mesi m u l at ing only the produ ct i o nof pions  and t h ei rs econdari es , n ot n u c learexci t at ion, spa llatio n ,an d radio ac tive d ec ay.  We  simu l ated  downw ard beam ed an d  downward isot r opic proton d i st r i bu t ions , w ith results  sho w n in  Tab l e\[t a b:p\]  andFi g ur e  \[fig:proton\_out\ ].  A pan cakedistributionof protons i s  not inc lude d ,s ince it has be en ru led out fo r  at leas t one  gamma-r ay flareb y  observa tio nsofstr o n gredshifts int h e nu cl ear de- exc itation  li nes  [@ smi th 03].

The  shape o fth eou tgo ing s p ectrum c ha nge slit tle w h en the  angu laran ds pec tral di s tr i b utio ns  o f th e p ro tonsarev ari ed, but  the over all gamm a- ra y lumin osity is grea te r for hard er  sp ectral i ndices a nd for the more isotrop i c distr ibu tion.  Thi s is expe cte d, sin cep ions a re pro duced  o nly b y the h ig hes t- energy pro t o nsand s in ce t he down ward-isotropic dis t rib ution will pr odu ce s o m epio n sa t s ha l low e r  column depthswhere phot on s  a re bettera ble  t o escap e (seebelow ) . The s pectra ob served at  $ 0.2< \ c os\ beta<0.4$extend t o highere nergy be cause  mo re pho to nsemerg e with o utscatt ering. 
  ---- ----- -- ---- --- ------- --------------- ---------- ---  -------- --- --- ---- ---- ---- -- ------- ----- ----- - - - ----- --
   A n gular     Spectral    Vi ewing                                                       Dis t ribu ti on     Index   An g l e (cos$\ be ta$)                                               
                                     (s i m .)   (cnvlv.)  (sim. )   (cn v lv. )    5 11     200       8–15 
   Downwar d iso.     2.2         $>0. 8$        57. 6       15. 3     4.51    0 .72      1 .9e- 3    3. 36e- 5  4 .3e-4
           3.2                     7 1.6    17. 0      6 . 40     0.80   3.0e- 4    4.
 continuum_photons instead_of line photons, causing_the count_spectrum_to have_a_less significant line_than the photon_spectrum. A solar gamma-ray_spectrometer with a_heavy_anticoincidence shield, such as the Gamma-Ray Spectrometer on the [*Solar Maximum Mission*]{} [@forrest80], would_be_less susceptible_to_all_these instrumental effects, and the_line-to-continuum ratios would be much_more similar_in the count and photon spectra.

### Interactions of_Accelerated_Protons {#sec:proton}

We also_simulated the interaction between accelerated protons and the solar_atmosphere. The simulated solar atmosphere was_the same as_in_the_electron simulations. As discussed_above, we are at this time_simulating only the production of pions_and their secondaries, not nuclear excitation, spallation,_and radioactive decay. We simulated downward_beamed and downward isotropic proton_distributions, with_results shown in Table \[tab:p\]_and Figure \[fig:proton\_out\]._A pancake_distribution of protons_is not included, since it has_been ruled out_for at least one gamma-ray flare_by_observations of strong_redshifts_in_the nuclear_de-excitation lines [@smith03].

The_shape_of the_outgoing_spectrum changes little when the angular_and_spectral distributions of the protons are varied,_but the overall gamma-ray_luminosity_is greater for harder_spectral indices and for the_more isotropic distribution. This is expected,_since pions_are produced_only by the highest-energy protons and since the downward-isotropic distribution will_produce some pions at shallower column_depths where photons are_better able_to_escape (see below)._The_spectra observed_at $0.2<\cos\beta<0.4$ extend to higher energy because_more photons_emerge without scattering.

  --------------- ----------_-------------------- -------- ---------- --------_----------_--------- --------- ---------
   _  Angular   _  Spectral  ___   Viewing _     _  _      __     __     ___    _     _        _  _    ___    
   Distribution  _ _Index  _  Angle (cos$\beta$)      _      _          _       _      _   __      ____  _  _ 
 _ _  _ _  __                 _     _    __  _   _ (sim.)   (cnvlv.)   (sim.)_  (cnvlv.)     511 __ _  200 _ _ _8–15
  _Downward iso._ _ _2.2      __    $>0.8$    ____  57.6_  _  15.3_  __ 4.51    _ 0.72 _   1.9e-3_   3.36e-5   4.3e-4
   _                _3.2 _   _ __     _ _       __  71.6      17.0   ___6.40  __  0.80   __3.0e-4___ 4.