{"id":50,"date":"2017-11-12T15:25:08","date_gmt":"2017-11-12T14:25:08","guid":{"rendered":"https:\/\/sites.lesia.obspm.fr\/psls\/?page_id=50"},"modified":"2025-09-02T14:00:04","modified_gmt":"2025-09-02T12:00:04","slug":"download-and-installation","status":"publish","type":"page","link":"https:\/\/sites.lesia.obspm.fr\/psls\/download-and-installation\/","title":{"rendered":"Download and installation"},"content":{"rendered":"<p>The latest version (<strong>1.9<\/strong>) can be downloaded from<a href=\"https:\/\/pypi.python.org\/pypi\/psls\"> PyPI &#8211; the Python Package index<\/a>. It can also be installed online using pip with this command:<\/p>\n<pre> pip\u00a0 install psls<\/pre>\n<p>This command only installs the program but you\u00a0 will need to download the PSLS package<a href=\"https:\/\/pypi.org\/project\/psls\/#files\"> from here<\/a>. This package includes the source code, some examples of configuration files, and the binary files containing the parameters of the model mimicking the systematic errors.<\/p>\n<p>PSLS requires (among other) the following python packages: numpy, scipy, matplotlib, and yaml.<br \/>\nAs an alternative to the online installation with <em>pip<\/em>, the code can be installed manually in your home directory with the following command:<\/p>\n<pre> python setup.py install --home=$HOME\/<\/pre>\n<p>It is also possible to install the code for all the users:<\/p>\n<pre> sudo python setup.py install<\/pre>\n<p>Edit the configuration file, an example is given in psls.yaml. Then, execute PSLS:<\/p>\n<pre>psls.py -P -V psls.yaml\n<\/pre>\n<p>The package provides various files storing the parameters describing the PLATO systematic errors:<\/p>\n<ul>\n<li>PLATO_systematics_[BOL\/EOL]_V2.npy: Begining Of Life (BOL) and End Of Life (EOL) systematic errors for the P5 sample (aperture mask photometry with mask updates operating) ;<\/li>\n<li>PLATO_systematics_[EOL\/BOL]_FixedMask_V2.npy: fixed aperture mask\u00a0 photometry ;<\/li>\n<li>\u00a0PLATO_systematics_[EOL\/BOL]_P1_V2.npy: systematic errors representative for the P1 sample (based on the PSF fitting method)<\/li>\n<\/ul>\n<p>Older systematic errors tables (version 0) are given for compatibility and consistency with Samadi et al (2019)&rsquo;s results.<\/p>\n<p>To simulate solar-like oscillations\u00a0 representative for a dwarf star\u00a0 you will need to provide as input\u00a0 a set of theoretical frequencies (the .gsm files)\u00a0 generated with <a href=\"http:\/\/users-phys.au.dk\/jcd\/adipack.n\/\">ADIPLS<\/a>.<\/p>\n<p>The package provides two working examples:<\/p>\n<ul>\n<li>a main sequence star (0012069449.yaml) with its associated theoretical frequencies (0012069449.gsm) generated with the ADIPLS pulsation code. The\u00a00012069449.gsm file is stored in the sub-directory models\u00a0 ;<\/li>\n<li>a red giant star (0009882316.yaml), which does not require as input theoretical frequencies.<\/li>\n<\/ul>\n<p>To simulate other main sequence stars you can\u00a0 use a grid of CESAM2K stellar models (HDF file), which you can obtain on demand by contacting <a href=\"mailto:reza.samadi@obspm.fr\">Reza SAMADI<\/a>.<\/p>\n<p>Note that, for RGB and clump stars, the program relies on the Universal Pattern, accordingly sets of theoretical frequencies are not required for those stars.<\/p>\n<hr \/>\n<p>This simulator is not an official product of the Plato Mission Consortium (PMC).If you want to simulate the representative PLATO data at pixel level, please consider PLATOSim.\u00a0 <a href=\"http:\/\/ivs-kuleuven.github.io\/PlatoSim3\/\">http:\/\/ivs-kuleuven.github.io\/PlatoSim3\/<\/a><\/p>\n<p>PSLS\u00a0 is distributed under the terms of the <a href=\"https:\/\/www.gnu.org\/licenses\/\">GNU General Public License<\/a>\u00a0 in the hope that it will be useful, but WITHOUT ANY WARRANTY.<\/p>\n<p>(c) 2017 by R\u00e9za SAMADI, LESIA &#8211; Observatoire de Paris.<\/p>\n<p>Main contributors: Alexi Deru (LESIA), Emmanuel Grolleau (LESIA), Daniel Reese (LESIA)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The latest version (1.9) can be downloaded from PyPI &#8211; the Python Package index. It can also be installed online using pip with this command: pip\u00a0 install psls This command only installs the program but you\u00a0 will need to download the PSLS package from here. This package includes the source code, some examples of configuration [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-50","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/sites.lesia.obspm.fr\/psls\/wp-json\/wp\/v2\/pages\/50","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.lesia.obspm.fr\/psls\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sites.lesia.obspm.fr\/psls\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sites.lesia.obspm.fr\/psls\/wp-json\/wp\/v2\/users\/47"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.lesia.obspm.fr\/psls\/wp-json\/wp\/v2\/comments?post=50"}],"version-history":[{"count":48,"href":"https:\/\/sites.lesia.obspm.fr\/psls\/wp-json\/wp\/v2\/pages\/50\/revisions"}],"predecessor-version":[{"id":470,"href":"https:\/\/sites.lesia.obspm.fr\/psls\/wp-json\/wp\/v2\/pages\/50\/revisions\/470"}],"wp:attachment":[{"href":"https:\/\/sites.lesia.obspm.fr\/psls\/wp-json\/wp\/v2\/media?parent=50"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}