<?xml version="1.0" encoding="utf-8"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:hal="http://hal.archives-ouvertes.fr/" xmlns:gml="http://www.opengis.net/gml/3.3/" xmlns:gmlce="http://www.opengis.net/gml/3.3/ce" version="1.1" xsi:schemaLocation="http://www.tei-c.org/ns/1.0 http://api.archives-ouvertes.fr/documents/aofr-sword.xsd">
  <teiHeader>
    <fileDesc>
      <titleStmt>
        <title>HAL TEI export of hal-04780865</title>
      </titleStmt>
      <publicationStmt>
        <distributor>CCSD</distributor>
        <availability status="restricted">
          <licence target="https://creativecommons.org/publicdomain/zero/1.0/">CC0 1.0 - Universal</licence>
        </availability>
        <date when="2026-05-15T16:47:27+02:00"/>
      </publicationStmt>
      <sourceDesc>
        <p part="N">HAL API Platform</p>
      </sourceDesc>
    </fileDesc>
  </teiHeader>
  <text>
    <body>
      <listBibl>
        <biblFull>
          <titleStmt>
            <title xml:lang="en">PySCo: A fast Particle-Mesh $N$-body code for modified gravity simulations in Python</title>
            <author role="aut">
              <persName>
                <forename type="first">Michel-Andrès</forename>
                <surname>Breton</surname>
              </persName>
              <idno type="halauthorid">1342879-0</idno>
              <affiliation ref="#struct-2068"/>
              <affiliation ref="#struct-1004852"/>
            </author>
            <editor role="depositor">
              <persName>
                <forename>Nathalie</forename>
                <surname>POTHIER</surname>
              </persName>
              <email type="md5">bbadcf873be535d1d251be6425ad67be</email>
              <email type="domain">cnrs-orleans.fr</email>
            </editor>
          </titleStmt>
          <editionStmt>
            <edition n="v1" type="current">
              <date type="whenSubmitted">2025-08-16 07:39:34</date>
              <date type="whenModified">2025-08-19 10:12:15</date>
              <date type="whenReleased">2025-08-16 07:39:34</date>
              <date type="whenProduced">2025</date>
              <date type="whenEndEmbargoed">2025-08-16</date>
              <ref type="file" target="https://hal.science/hal-04780865v1/document">
                <date notBefore="2025-08-16"/>
              </ref>
              <ref type="file" subtype="greenPublisher" n="1" target="https://hal.science/hal-04780865v1/file/aa52770-24.pdf" id="file-5211303-4485385">
                <date notBefore="2025-08-16"/>
              </ref>
              <ref type="externalLink" target="http://arxiv.org/pdf/2410.20501"/>
            </edition>
            <respStmt>
              <resp>contributor</resp>
              <name key="106505">
                <persName>
                  <forename>Nathalie</forename>
                  <surname>POTHIER</surname>
                </persName>
                <email type="md5">bbadcf873be535d1d251be6425ad67be</email>
                <email type="domain">cnrs-orleans.fr</email>
              </name>
            </respStmt>
          </editionStmt>
          <publicationStmt>
            <distributor>CCSD</distributor>
            <idno type="halId">hal-04780865</idno>
            <idno type="halUri">https://hal.science/hal-04780865</idno>
            <idno type="halBibtex">breton:hal-04780865</idno>
            <idno type="halRefHtml">&lt;i&gt;Astronomy &amp; Astrophysics - A&amp;A&lt;/i&gt;, 2025, 695, pp.A170. &lt;a target="_blank" href="https://dx.doi.org/10.1051/0004-6361/202452770"&gt;&amp;#x27E8;10.1051/0004-6361/202452770&amp;#x27E9;&lt;/a&gt;</idno>
            <idno type="halRef">Astronomy &amp; Astrophysics - A&amp;A, 2025, 695, pp.A170. &amp;#x27E8;10.1051/0004-6361/202452770&amp;#x27E9;</idno>
            <availability status="restricted">
              <licence target="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0 - Attribution<ref corresp="#file-5211303-4485385"/></licence>
            </availability>
          </publicationStmt>
          <seriesStmt>
            <idno type="stamp" n="OBSPM">Observatoire de Paris</idno>
            <idno type="stamp" n="CEA">CEA - Commissariat à l'énergie atomique</idno>
            <idno type="stamp" n="INSU">INSU - Institut National des Sciences de l'Univers</idno>
            <idno type="stamp" n="CNRS">CNRS - Centre national de la recherche scientifique</idno>
            <idno type="stamp" n="LUTH">Laboratoire Univers et Théories</idno>
            <idno type="stamp" n="DSM-IRFU" corresp="CEA">IRFU</idno>
            <idno type="stamp" n="IRFU-AIM" corresp="DSM-IRFU">IRFU-AIM</idno>
            <idno type="stamp" n="GENCI">Publications ayant eu recours aux supercalculateurs du GENCI</idno>
            <idno type="stamp" n="PSL">Université Paris sciences et lettres</idno>
            <idno type="stamp" n="CEA-DRF" corresp="CEA">Direction de Recherche Fondamentale</idno>
            <idno type="stamp" n="UNIV-PARIS">Université Paris Cité</idno>
            <idno type="stamp" n="UNIVERSITE-PARIS" corresp="UNIV-PARIS">Université Paris Cité</idno>
            <idno type="stamp" n="UP-SCIENCES">Université Paris Cité - Faculté des Sciences</idno>
            <idno type="stamp" n="OBSPM-PSL" corresp="PSL">Observatoire de Paris - PSL</idno>
            <idno type="stamp" n="GS-PHYSIQUE">Graduate School Physique</idno>
          </seriesStmt>
          <notesStmt>
            <note type="audience" n="2">International</note>
            <note type="popular" n="0">No</note>
            <note type="peer" n="1">Yes</note>
          </notesStmt>
          <sourceDesc>
            <biblStruct>
              <analytic>
                <title xml:lang="en">PySCo: A fast Particle-Mesh $N$-body code for modified gravity simulations in Python</title>
                <author role="aut">
                  <persName>
                    <forename type="first">Michel-Andrès</forename>
                    <surname>Breton</surname>
                  </persName>
                  <idno type="halauthorid">1342879-0</idno>
                  <affiliation ref="#struct-2068"/>
                  <affiliation ref="#struct-1004852"/>
                </author>
              </analytic>
              <monogr>
                <idno type="halJournalId" status="VALID">10858</idno>
                <idno type="issn">0004-6361</idno>
                <idno type="eissn">1432-0746</idno>
                <title level="j">Astronomy &amp; Astrophysics - A&amp;A</title>
                <imprint>
                  <publisher>EDP Sciences</publisher>
                  <biblScope unit="volume">695</biblScope>
                  <biblScope unit="pp">A170</biblScope>
                  <date type="datePub">2025</date>
                </imprint>
              </monogr>
              <idno type="arxiv">2410.20501</idno>
              <idno type="doi">10.1051/0004-6361/202452770</idno>
              <idno type="inspire">2843268</idno>
            </biblStruct>
          </sourceDesc>
          <profileDesc>
            <langUsage>
              <language ident="en">English</language>
            </langUsage>
            <textClass>
              <classCode scheme="halDomain" n="phys.astr">Physics [physics]/Astrophysics [astro-ph]</classCode>
              <classCode scheme="halTypology" n="ART">Journal articles</classCode>
              <classCode scheme="halOldTypology" n="ART">Journal articles</classCode>
              <classCode scheme="halTreeTypology" n="ART">Journal articles</classCode>
            </textClass>
            <abstract xml:lang="en">
              <p>We present PySCo, a fast and user-friendly Python library designed to run cosmological $N$-body simulations across various cosmological models, such as $\Lambda$CDM and $w_0w_a$CDM, and alternative theories of gravity, including $f(R)$, MOND and time-dependent gravitational constant parameterisations. PySCo employs Particle-Mesh solvers, using multigrid or Fast Fourier Transform (FFT) methods in their different variations. Additionally, PySCo can be easily integrated as an external library, providing utilities for particle and mesh computations. The library offers key features, including an initial condition generator based on up to third-order Lagrangian Perturbation Theory (LPT), power spectrum estimation, and computes the background and growth of density perturbations. In this paper, we detail PySCo's architecture and algorithms and conduct extensive comparisons with other codes and numerical methods. Our analysis shows that, with sufficient small-scale resolution, the power spectrum at redshift $z = 0$ remains independent of the initial redshift at the 0.1% level for $z_{\rm ini} \geq$ 125, 30, and 10 when using first, second, and third-order LPT, respectively. Although the seven-point Laplacian method used in multigrid also leads to power suppression on small scales, this effect can largely be mitigated when computing ratios. In terms of performance, PySCo only requires approximately one CPU hour to complete a Newtonian simulation with $512^3$ particles (and an equal number of cells) on a laptop. Due to its speed and ease of use, PySCo is ideal for rapidly generating vast ensemble of simulations and exploring parameter spaces, allowing variations in gravity theories, dark energy models, and numerical approaches. This versatility makes PySCo a valuable tool for producing emulators, covariance matrices, or training datasets for machine learning.</p>
            </abstract>
          </profileDesc>
        </biblFull>
      </listBibl>
    </body>
    <back>
      <listOrg type="structures">
        <org type="laboratory" xml:id="struct-2068" status="OLD">
          <idno type="IdRef">165830778</idno>
          <idno type="ISNI">000000040367334X</idno>
          <idno type="RNSR">200919203N</idno>
          <idno type="ROR">https://ror.org/0015h8611</idno>
          <idno type="Wikidata">Q28494051</idno>
          <orgName>Astrophysique Interprétation Modélisation</orgName>
          <orgName type="acronym">AIM (UMR7158 / UMR_E_9005 / UM_112)</orgName>
          <date type="end">2019-12-31</date>
          <desc>
            <address>
              <addrLine>AIM - UMR 7158 - UMR E 9005, ex "Astrophysique Interactions Multi-échelles",Service d'astrophysique, CEA/Saclay, Orme des Merisiers F-91191 GIF SUR YVETTE CEDEX</addrLine>
              <country key="FR"/>
            </address>
            <ref type="url">http://irfu.cea.fr/Dap/</ref>
          </desc>
          <listRelation>
            <relation name="UMR9005" active="#struct-300016" type="direct"/>
            <relation active="#struct-300045" type="direct"/>
            <relation name="UMR7158" active="#struct-300301" type="direct"/>
            <relation name="UMR7158" active="#struct-441569" type="direct"/>
          </listRelation>
        </org>
        <org type="laboratory" xml:id="struct-1004852" status="OLD">
          <idno type="IdRef">139486976</idno>
          <idno type="RNSR">200212760R</idno>
          <orgName>Laboratoire Univers et Théories</orgName>
          <orgName type="acronym">LUTH (UMR_8102)</orgName>
          <date type="start">2020-01-01</date>
          <date type="end">2024-12-31</date>
          <desc>
            <address>
              <addrLine>5 place Jules Janssen 92195 Meudon cedex</addrLine>
              <country key="FR"/>
            </address>
            <ref type="url">http://luth.obspm.fr/</ref>
          </desc>
          <listRelation>
            <relation active="#struct-300045" type="direct"/>
            <relation active="#struct-300055" type="direct"/>
            <relation name="UAR2201" active="#struct-441569" type="direct"/>
            <relation active="#struct-564132" type="indirect"/>
            <relation name="UMR8102" active="#struct-441569" type="direct"/>
            <relation name="UMR_8102" active="#struct-557826" type="direct"/>
          </listRelation>
        </org>
        <org type="institution" xml:id="struct-300016" status="VALID">
          <idno type="IdRef">026372061</idno>
          <idno type="ISNI">0000000122998025</idno>
          <idno type="ROR">https://ror.org/00jjx8s55</idno>
          <idno type="Wikidata">Q868550</idno>
          <orgName>Commissariat à l'énergie atomique et aux énergies alternatives</orgName>
          <orgName type="acronym">CEA</orgName>
          <desc>
            <address>
              <addrLine>Centre de SaclayCentre de GrenobleCentre de Cadaracheetc</addrLine>
              <country key="FR"/>
            </address>
            <ref type="url">http://www.cea.fr/</ref>
          </desc>
        </org>
        <org type="institution" xml:id="struct-300045" status="VALID">
          <idno type="IdRef">029349265</idno>
          <idno type="ISNI">0000 0001 2154 1736</idno>
          <idno type="ROR">https://ror.org/04kdfz702</idno>
          <idno type="Wikidata">Q3152437</idno>
          <orgName>Institut national des sciences de l'Univers</orgName>
          <orgName type="acronym">INSU - CNRS</orgName>
          <date type="start">2007-04-19</date>
          <desc>
            <address>
              <addrLine>INSU-CNRS3 rue Michel-Ange, 75794 Paris Cedex 16</addrLine>
              <country key="FR"/>
            </address>
            <ref type="url">https://www.insu.cnrs.fr</ref>
          </desc>
        </org>
        <org type="institution" xml:id="struct-300301" status="OLD">
          <idno type="IdRef">027542084</idno>
          <idno type="ISNI">0000000121514068</idno>
          <idno type="ROR">https://ror.org/02n7qrg46</idno>
          <orgName>Université Paris Diderot - Paris 7</orgName>
          <orgName type="acronym">UPD7</orgName>
          <date type="end">2019-12-31</date>
          <desc>
            <address>
              <addrLine>5 rue Thomas-Mann - 75205 Paris cedex 13</addrLine>
              <country key="FR"/>
            </address>
            <ref type="url">http://www.univ-paris-diderot.fr</ref>
          </desc>
        </org>
        <org type="regroupinstitution" xml:id="struct-441569" status="VALID">
          <idno type="IdRef">02636817X</idno>
          <idno type="ISNI">0000000122597504</idno>
          <idno type="ROR">https://ror.org/02feahw73</idno>
          <orgName>Centre National de la Recherche Scientifique</orgName>
          <orgName type="acronym">CNRS</orgName>
          <date type="start">1939-10-19</date>
          <desc>
            <address>
              <country key="FR"/>
            </address>
            <ref type="url">https://www.cnrs.fr/</ref>
          </desc>
        </org>
        <org type="institution" xml:id="struct-300055" status="VALID">
          <idno type="IdRef">026550520</idno>
          <idno type="ISNI">000000040475642X</idno>
          <idno type="RNSR">200610854B</idno>
          <idno type="ROR">https://ror.org/029nkcm90</idno>
          <idno type="Wikidata">Q461340</idno>
          <orgName>Observatoire de Paris</orgName>
          <desc>
            <address>
              <addrLine>61 Av de l'Observatoire 75014 PARIS</addrLine>
              <country key="FR"/>
            </address>
            <ref type="url">http://www.obspm.fr</ref>
          </desc>
          <listRelation>
            <relation name="UAR2201" active="#struct-441569" type="direct"/>
            <relation active="#struct-564132" type="direct"/>
          </listRelation>
        </org>
        <org type="regroupinstitution" xml:id="struct-564132" status="VALID">
          <idno type="IdRef">241597595</idno>
          <idno type="ISNI">0000 0004 1784 3645</idno>
          <idno type="ROR">https://ror.org/013cjyk83</idno>
          <orgName>Université Paris Sciences et Lettres</orgName>
          <orgName type="acronym">PSL</orgName>
          <desc>
            <address>
              <addrLine>60 rue Mazarine 75006 Paris</addrLine>
              <country key="FR"/>
            </address>
            <ref type="url">https://www.psl.eu/</ref>
          </desc>
        </org>
        <org type="institution" xml:id="struct-557826" status="VALID">
          <idno type="IdRef">236453505</idno>
          <idno type="ISNI">0000 0004 7885 7602</idno>
          <idno type="ROR">https://ror.org/05f82e368</idno>
          <orgName>Université Paris Cité</orgName>
          <orgName type="acronym">UPCité</orgName>
          <date type="start">2020-01-01</date>
          <desc>
            <address>
              <addrLine>85 boulevard Saint-Germain75006 Paris</addrLine>
              <country key="FR"/>
            </address>
            <ref type="url">https://u-paris.fr/</ref>
          </desc>
        </org>
      </listOrg>
    </back>
  </text>
</TEI>