{"id":50,"date":"2017-11-12T15:25:08","date_gmt":"2017-11-12T14:25:08","guid":{"rendered":"https:\/\/sites-lira.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-lira.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"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Download and installation - the PLATO Solar-like Light-curve Simulator (PSLS)<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/sites-lira.obspm.fr\/psls\/download-and-installation\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Download and installation - the PLATO Solar-like Light-curve Simulator (PSLS)\" \/>\n<meta property=\"og:description\" content=\"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;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/sites-lira.obspm.fr\/psls\/download-and-installation\/\" \/>\n<meta property=\"og:site_name\" content=\"the PLATO Solar-like Light-curve Simulator (PSLS)\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-02T12:00:04+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Dur\u00e9e de lecture estim\u00e9e\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/sites-lira.obspm.fr\\\/psls\\\/download-and-installation\\\/\",\"url\":\"https:\\\/\\\/sites-lira.obspm.fr\\\/psls\\\/download-and-installation\\\/\",\"name\":\"Download and installation - the PLATO Solar-like Light-curve Simulator (PSLS)\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/sites-lira.obspm.fr\\\/psls\\\/#website\"},\"datePublished\":\"2017-11-12T14:25:08+00:00\",\"dateModified\":\"2025-09-02T12:00:04+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/sites-lira.obspm.fr\\\/psls\\\/download-and-installation\\\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/sites-lira.obspm.fr\\\/psls\\\/download-and-installation\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/sites-lira.obspm.fr\\\/psls\\\/download-and-installation\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/sites-lira.obspm.fr\\\/psls\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Download and installation\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/sites-lira.obspm.fr\\\/psls\\\/#website\",\"url\":\"https:\\\/\\\/sites-lira.obspm.fr\\\/psls\\\/\",\"name\":\"the PLATO Solar-like Light-curve Simulator (PSLS)\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/sites-lira.obspm.fr\\\/psls\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Download and installation - the PLATO Solar-like Light-curve Simulator (PSLS)","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/sites-lira.obspm.fr\/psls\/download-and-installation\/","og_locale":"fr_FR","og_type":"article","og_title":"Download and installation - the PLATO Solar-like Light-curve Simulator (PSLS)","og_description":"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;]","og_url":"https:\/\/sites-lira.obspm.fr\/psls\/download-and-installation\/","og_site_name":"the PLATO Solar-like Light-curve Simulator (PSLS)","article_modified_time":"2025-09-02T12:00:04+00:00","twitter_card":"summary_large_image","twitter_misc":{"Dur\u00e9e de lecture estim\u00e9e":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/sites-lira.obspm.fr\/psls\/download-and-installation\/","url":"https:\/\/sites-lira.obspm.fr\/psls\/download-and-installation\/","name":"Download and installation - the PLATO Solar-like Light-curve Simulator (PSLS)","isPartOf":{"@id":"https:\/\/sites-lira.obspm.fr\/psls\/#website"},"datePublished":"2017-11-12T14:25:08+00:00","dateModified":"2025-09-02T12:00:04+00:00","breadcrumb":{"@id":"https:\/\/sites-lira.obspm.fr\/psls\/download-and-installation\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sites-lira.obspm.fr\/psls\/download-and-installation\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/sites-lira.obspm.fr\/psls\/download-and-installation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/sites-lira.obspm.fr\/psls\/"},{"@type":"ListItem","position":2,"name":"Download and installation"}]},{"@type":"WebSite","@id":"https:\/\/sites-lira.obspm.fr\/psls\/#website","url":"https:\/\/sites-lira.obspm.fr\/psls\/","name":"the PLATO Solar-like Light-curve Simulator (PSLS)","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/sites-lira.obspm.fr\/psls\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"}]}},"_links":{"self":[{"href":"https:\/\/sites-lira.obspm.fr\/psls\/wp-json\/wp\/v2\/pages\/50","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites-lira.obspm.fr\/psls\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sites-lira.obspm.fr\/psls\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sites-lira.obspm.fr\/psls\/wp-json\/wp\/v2\/users\/47"}],"replies":[{"embeddable":true,"href":"https:\/\/sites-lira.obspm.fr\/psls\/wp-json\/wp\/v2\/comments?post=50"}],"version-history":[{"count":48,"href":"https:\/\/sites-lira.obspm.fr\/psls\/wp-json\/wp\/v2\/pages\/50\/revisions"}],"predecessor-version":[{"id":470,"href":"https:\/\/sites-lira.obspm.fr\/psls\/wp-json\/wp\/v2\/pages\/50\/revisions\/470"}],"wp:attachment":[{"href":"https:\/\/sites-lira.obspm.fr\/psls\/wp-json\/wp\/v2\/media?parent=50"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}