Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: WilfriedMercier/pixSED
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0
Choose a base ref
...
head repository: WilfriedMercier/pixSED
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref

Commits on Feb 28, 2022

  1. Copy the full SHA
    b1ec6c7 View commit details
  2. update

    WilfriedMercier committed Feb 28, 2022
    Copy the full SHA
    5f36f48 View commit details
  3. update

    WilfriedMercier committed Feb 28, 2022
    Copy the full SHA
    d614501 View commit details
  4. Copy the full SHA
    7a5e305 View commit details
  5. Copy the full SHA
    46e55e8 View commit details

Commits on Mar 15, 2022

  1. Copy the full SHA
    013ed2c View commit details

Commits on Mar 17, 2022

  1. Copy the full SHA
    85f186f View commit details
  2. Copy the full SHA
    6d00c21 View commit details
  3. Copy the full SHA
    a342521 View commit details
  4. Copy the full SHA
    1827692 View commit details
  5. Copy the full SHA
    d208887 View commit details
  6. updated documentation

    WilfriedMercier committed Mar 17, 2022
    Copy the full SHA
    6c6c420 View commit details

Commits on Apr 21, 2022

  1. included an option to controlt the magnitude of the systemic uncertai…

    …nty which is added to the error on the flux in Cigale
    WilfriedMercier committed Apr 21, 2022
    Copy the full SHA
    d7f88ec View commit details

Commits on Apr 25, 2022

  1. Copy the full SHA
    7f06a7d View commit details

Commits on Sep 2, 2022

  1. Copy the full SHA
    b595592 View commit details
  2. Copy the full SHA
    982b3f9 View commit details

Commits on Sep 3, 2022

  1. Added the possibility to remove the path check option for PathPropert…

    …ies for those that are created by the code and that do not exist beforehand. The check is performed after their creation now
    WilfriedMercier committed Sep 3, 2022
    Copy the full SHA
    2770a4a View commit details
  2. Update README.md

    WilfriedMercier authored Sep 3, 2022
    Copy the full SHA
    1abe4e6 View commit details
  3. Update README.md

    WilfriedMercier authored Sep 3, 2022
    Copy the full SHA
    f5634ea View commit details

Commits on Nov 22, 2023

  1. Corrected multiple small bugs throughout the code, improved sanity ch…

    …ecks, better handling of files required for Poisson calculations, and improved docstrings. Big improvement in _CigaleTableFactory: before, removing masked values marked as NaN was done once per filter, potentially leading to catalogue columns of different length and to an error. Now, masked values are computed for all filters first, the intersection is taken, and then the mask is applied to all images and variances maps, leading to columns of the same size in the catalogue. No changes have been made on _LePhareTableFactory yet.
    Wilfried (Mac) committed Nov 22, 2023
    Copy the full SHA
    331687e View commit details
  2. update

    Wilfried (Mac) committed Nov 22, 2023
    Copy the full SHA
    e00158a View commit details

Commits on Nov 23, 2023

  1. updated the example with the new syntax

    Wilfried (Mac) committed Nov 23, 2023
    Copy the full SHA
    d3fb555 View commit details
  2. updated this code to work with the new syntax

    Wilfried (Mac) committed Nov 23, 2023
    Copy the full SHA
    80266e3 View commit details
  3. updated the code to work with the new syntax

    Wilfried (Mac) committed Nov 23, 2023
    Copy the full SHA
    dc22f15 View commit details
  4. updated LePhareTableFactory method to be compatible with the nex synt…

    …ax. See previous Cigale commit
    Wilfried (Mac) committed Nov 23, 2023
    Copy the full SHA
    2ed12c5 View commit details
  5. correcting docstrings for documentation

    Wilfried (Mac) committed Nov 23, 2023
    Copy the full SHA
    9cb5672 View commit details

Commits on Nov 27, 2023

  1. updated docstrings for new documentation + corrected a few bugs relat…

    …ed to wrong types in some cigaleModule classes
    Wilfried (Mac) committed Nov 27, 2023
    Copy the full SHA
    fdb4d84 View commit details

Commits on Dec 19, 2023

  1. updated docstrings + call to main library in examples

    Wilfried (Mac) committed Dec 19, 2023
    Copy the full SHA
    ab64a83 View commit details
  2. New example that shows how to load a previous Cigale run to show a re…

    …solved stellar mass map
    Wilfried (Mac) committed Dec 19, 2023
    Copy the full SHA
    eaf6c62 View commit details
  3. updated docstring

    Wilfried (Mac) committed Dec 19, 2023
    Copy the full SHA
    d798914 View commit details
  4. new documentation file explaining how to deal with Poisson noise prop…

    …erly
    Wilfried (Mac) committed Dec 19, 2023
    Copy the full SHA
    90e63e2 View commit details
  5. removed all tutorials now in the index

    Wilfried (Mac) committed Dec 19, 2023
    Copy the full SHA
    73279fb View commit details
  6. updated the documentation

    Wilfried (Mac) committed Dec 19, 2023
    Copy the full SHA
    e130c33 View commit details
  7. removed useless file

    Wilfried (Mac) committed Dec 19, 2023
    Copy the full SHA
    434ad3e View commit details
  8. updated docstrings

    Wilfried (Mac) committed Dec 19, 2023
    Copy the full SHA
    b38fbbc View commit details
  9. updated doc

    Wilfried (Mac) committed Dec 19, 2023
    Copy the full SHA
    86a56e8 View commit details
  10. updated doc

    Wilfried (Mac) committed Dec 19, 2023
    Copy the full SHA
    f0fca97 View commit details
  11. new doc files with the nomenclature and examples

    Wilfried (Mac) committed Dec 19, 2023
    Copy the full SHA
    9783381 View commit details
  12. logo and custom css files

    Wilfried (Mac) committed Dec 19, 2023
    Copy the full SHA
    7589a83 View commit details
  13. logo for the project

    Wilfried (Mac) committed Dec 19, 2023
    Copy the full SHA
    7d5aff4 View commit details
  14. added a licence for the logos

    Wilfried (Mac) committed Dec 19, 2023
    Copy the full SHA
    a4805ac View commit details
  15. updated licence

    Wilfried (Mac) committed Dec 19, 2023
    Copy the full SHA
    12bbcc4 View commit details
  16. added licence for the logo

    Wilfried (Mac) committed Dec 19, 2023
    Copy the full SHA
    08bd68a View commit details
  17. doc files for cigale modules

    Wilfried (Mac) committed Dec 19, 2023
    Copy the full SHA
    a900193 View commit details
  18. removed old dir

    Wilfried (Mac) committed Dec 19, 2023
    Copy the full SHA
    cbe629d View commit details
  19. updated the documentation with the new version

    Wilfried (Mac) committed Dec 19, 2023
    Copy the full SHA
    91bd1b0 View commit details
  20. updated readme

    Wilfried (Mac) committed Dec 19, 2023
    Copy the full SHA
    998a17c View commit details
  21. update

    Wilfried (Mac) committed Dec 19, 2023
    Copy the full SHA
    cf3d238 View commit details
  22. update

    Wilfried (Mac) committed Dec 19, 2023
    Copy the full SHA
    1a92c65 View commit details
  23. update

    Wilfried (Mac) committed Dec 19, 2023
    Copy the full SHA
    9200b0f View commit details
Showing with 37,225 additions and 17,381 deletions.
  1. +3 −5 README.md
  2. +2 −1 __init__.py
  3. +1 −1 additional_files/lephare/addFilters.sh
  4. +1 −1 catalogues.py
  5. +7 −8 coloredMessages.py
  6. +620 −193 docs/API/catalogues.html
  7. +912 −413 docs/API/filters.html
  8. +589 −118 docs/API/index.html
  9. +861 −0 docs/API/misc/cigaleModules/SFH.html
  10. +650 −0 docs/API/misc/cigaleModules/SFH_quench.html
  11. +672 −0 docs/API/misc/cigaleModules/SSP.html
  12. +795 −0 docs/API/misc/cigaleModules/dust_attenuation.html
  13. +849 −0 docs/API/misc/cigaleModules/dust_emission.html
  14. +602 −0 docs/API/misc/cigaleModules/index.html
  15. +592 −0 docs/API/misc/cigaleModules/nebular.html
  16. +1,931 −1,496 docs/API/misc/enum.html
  17. +577 −115 docs/API/misc/index.html
  18. +608 −167 docs/API/misc/misc.html
  19. +960 −440 docs/API/misc/properties.html
  20. +687 −262 docs/API/outputs.html
  21. +641 −0 docs/API/photometry.html
  22. +877 −429 docs/API/sed.html
  23. BIN docs/_images/example1-1.png
  24. BIN docs/_images/example2-1.png
  25. BIN docs/_images/example3-1.png
  26. BIN docs/_images/examples_0_1.png
  27. BIN docs/_images/examples_1_1.png
  28. BIN docs/_images/examples_2_1.png
  29. BIN docs/_images/index_0_1.png
  30. BIN docs/_images/math/027d0fd23daa8ff572de23e43c20678147b037a5.png
  31. BIN docs/_images/math/06573ea902cc42fd29eb0efddf78a5d6237c028f.png
  32. BIN docs/_images/math/07292f283c92d1df75423cae4f34ccd4e465de99.png
  33. BIN docs/_images/math/2acf0fa7b34a1a3cdf10c733add0353c8aca16c7.png
  34. BIN docs/_images/math/2f5aa019312e1bbc969deab8dca8b00f76025404.png
  35. BIN docs/_images/math/81b6f0c96a4f0a609bee021ad0d6254487b9f968.png
  36. BIN docs/_images/math/a5042e08739088fc054196a4c99b26d9af703d31.png
  37. BIN docs/_images/math/df00656702b70b4b6f7ffbf6a9aa9a334bab1914.png
  38. +0 −341 docs/_modules/SED/catalogues.html
  39. +0 −970 docs/_modules/SED/filters.html
  40. +0 −843 docs/_modules/SED/misc/enum.html
  41. +0 −309 docs/_modules/SED/misc/misc.html
  42. +0 −974 docs/_modules/functools.html
  43. +477 −116 docs/_modules/index.html
  44. +703 −0 docs/_modules/pixSED/catalogues.html
  45. +1,457 −0 docs/_modules/pixSED/filters.html
  46. +3,221 −0 docs/_modules/pixSED/misc/cigaleModules.html
  47. +1,201 −0 docs/_modules/pixSED/misc/enum.html
  48. +679 −0 docs/_modules/pixSED/misc/misc.html
  49. +804 −363 docs/_modules/{SED → pixSED}/misc/properties.html
  50. +566 −204 docs/_modules/{SED → pixSED}/outputs.html
  51. +597 −0 docs/_modules/pixSED/photometry.html
  52. +991 −568 docs/_modules/{SED → pixSED}/sed.html
  53. +1 −1 docs/_sources/API/catalogues.rst.txt
  54. +1 −1 docs/_sources/API/filters.rst.txt
  55. +54 −0 docs/_sources/API/index.rst.txt
  56. +60 −0 docs/_sources/API/misc/cigaleModules/SFH.rst.txt
  57. +20 −0 docs/_sources/API/misc/cigaleModules/SFH_quench.rst.txt
  58. +27 −0 docs/_sources/API/misc/cigaleModules/SSP.rst.txt
  59. +52 −0 docs/_sources/API/misc/cigaleModules/dust_attenuation.rst.txt
  60. +68 −0 docs/_sources/API/misc/cigaleModules/dust_emission.rst.txt
  61. +52 −0 docs/_sources/API/misc/cigaleModules/index.rst.txt
  62. +8 −0 docs/_sources/API/misc/cigaleModules/nebular.rst.txt
  63. +1 −1 docs/_sources/API/misc/enum.rst.txt
  64. +37 −0 docs/_sources/API/misc/index.rst.txt
  65. +1 −3 docs/_sources/API/misc/misc.rst.txt
  66. +1 −1 docs/_sources/API/misc/properties.rst.txt
  67. +1 −1 docs/_sources/API/outputs.rst.txt
  68. +7 −0 docs/_sources/API/photometry.rst.txt
  69. +1 −1 docs/_sources/API/sed.rst.txt
  70. +567 −0 docs/_sources/examples.rst.txt
  71. +0 −179 docs/_sources/examples/example1.rst.txt
  72. +0 −147 docs/_sources/examples/example2.rst.txt
  73. +0 −221 docs/_sources/examples/example3.rst.txt
  74. +546 −27 docs/_sources/index.rst.txt
  75. +18 −0 docs/_sources/nomenclature.rst.txt
  76. +117 −0 docs/_sources/poisson.rst.txt
  77. +59 −59 docs/_sources/setup.rst.txt
  78. +0 −8 docs/_sources/tutorial/cigale.rst.txt
  79. +0 −223 docs/_sources/tutorial/index.rst.txt
  80. +0 −193 docs/_sources/tutorial/lephare.rst.txt
  81. +1 −0 docs/_sphinx_design_static/design-style.1e8bd061cd6da7fc9cf755528e8ffc24.min.css
  82. +27 −0 docs/_sphinx_design_static/design-tabs.js
  83. BIN docs/_static/1633b6b9993ab5dccd7b.woff
  84. BIN docs/_static/1665128c96e2d5f27f6a.woff2
  85. BIN docs/_static/3b2dacb09b5cc8a36c28.woff
  86. BIN docs/_static/427aa5b274e56460a497.woff
  87. BIN docs/_static/4673b4537a84c7f7a130.woff2
  88. BIN docs/_static/523d95e8734465d37946.woff
  89. BIN docs/_static/5378fa574040dbf18297.woff
  90. BIN docs/_static/869888415d0b1a99ae5c.woff2
  91. BIN docs/_static/9b78ea3bc4f00e508f01.woff
  92. BIN docs/_static/9da12ee2226cebdf4db1.woff2
  93. +1 −0 docs/_static/LICENCE
  94. +134 −0 docs/_static/_sphinx_javascript_frameworks_compat.js
  95. BIN docs/_static/a65a0448afa2c6ed3908.woff2
  96. BIN docs/_static/b315749ee28367113b01.woff
  97. +40 −16 docs/_static/basic.css
  98. BIN docs/_static/c8864b37568c1e60cc44.woff
  99. +0 −25 docs/_static/css/custom.css
  100. +0 −1 docs/_static/css/custom.css.map
  101. +0 −2,751 docs/_static/css/theme.css
  102. +0 −1 docs/_static/css/theme.css.map
  103. +0 −2 docs/_static/css/theme.min.css
  104. +0 −1 docs/_static/css/theme.min.css.map
  105. BIN docs/_static/d52a565af9d2ae457512.woff2
  106. BIN docs/_static/ddd11dabeca881d49f59.woff
  107. +1 −0 docs/_static/design-style.1e8bd061cd6da7fc9cf755528e8ffc24.min.css
  108. +27 −0 docs/_static/design-tabs.js
  109. +0 −2 docs/_static/docsearch.568f72350c8934a414b3.js
  110. +0 −1 docs/_static/docsearch.568f72350c8934a414b3.js.LICENSE.txt
  111. +0 −1 docs/_static/docsearch.b8f54ae248851a9ad851.css
  112. 0 docs/_static/docsearch_config.js
  113. +194 −256 docs/_static/doctools.js
  114. +5 −3 docs/_static/documentation_options.js
  115. BIN docs/_static/e3af00b45d7cbb7f1349.woff2
  116. BIN docs/_static/f8d81cb45fd5293f176c.woff2
  117. BIN docs/_static/ff2e05b5e7115bad10a9.woff2
  118. BIN docs/_static/font/fontello.eot
  119. +0 −32 docs/_static/font/fontello.svg
  120. BIN docs/_static/font/fontello.ttf
  121. BIN docs/_static/font/fontello.woff
  122. BIN docs/_static/font/fontello.woff2
  123. +118 −109 docs/_static/{jquery-3.5.1.js → jquery-3.6.0.js}
  124. +2 −2 docs/_static/jquery.js
  125. +0 −68 docs/_static/js/theme.js
  126. +123 −0 docs/_static/jupyter-sphinx.css
  127. +1 −99 docs/_static/language_data.js
  128. BIN docs/_static/logo1.png
  129. +0 −25 docs/_static/manifest.json
  130. +1 −0 docs/_static/mycss.css
  131. +0 −16 docs/_static/plot_directive.css
  132. +152 −68 docs/_static/pygments.css
  133. +3 −0 docs/_static/scripts/bootstrap.js
  134. +5 −0 docs/_static/scripts/bootstrap.js.LICENSE.txt
  135. +1 −0 docs/_static/scripts/bootstrap.js.map
  136. +0 −3 docs/_static/scripts/main.js
  137. +0 −1 docs/_static/scripts/main.js.map
  138. +2 −0 docs/_static/scripts/pydata-sphinx-theme.js
  139. +1 −0 docs/_static/scripts/pydata-sphinx-theme.js.map
  140. +395 −393 docs/_static/searchtools.js
  141. +6 −0 docs/_static/styles/bootstrap.css
  142. +1 −0 docs/_static/styles/bootstrap.css.map
  143. +0 −2 docs/_static/styles/furo-extensions.css
  144. +0 −1 docs/_static/styles/furo-extensions.css.map
  145. +0 −2 docs/_static/styles/furo.css
  146. +0 −1 docs/_static/styles/furo.css.map
  147. +2 −0 docs/_static/styles/pydata-sphinx-theme.css
  148. +1 −0 docs/_static/styles/pydata-sphinx-theme.css.map
  149. +2 −0 docs/_static/styles/theme.css
  150. +0 −10 docs/_static/theme.313ea551d1799b2102b1.css
  151. +0 −2 docs/_static/theme.3666d2347a4c66e5d7a8.js
  152. +0 −6 docs/_static/theme.3666d2347a4c66e5d7a8.js.LICENSE.txt
  153. +165 −0 docs/_static/vendor/fontawesome/6.1.2/LICENSE.txt
  154. +5 −0 docs/_static/vendor/fontawesome/6.1.2/css/all.min.css
  155. +2 −0 docs/_static/vendor/fontawesome/6.1.2/js/all.min.js
  156. +5 −0 docs/_static/vendor/fontawesome/6.1.2/js/all.min.js.LICENSE.txt
  157. BIN docs/_static/vendor/fontawesome/6.1.2/webfonts/fa-brands-400.ttf
  158. BIN docs/_static/vendor/fontawesome/6.1.2/webfonts/fa-brands-400.woff2
  159. BIN docs/_static/vendor/fontawesome/6.1.2/webfonts/fa-regular-400.ttf
  160. BIN docs/_static/vendor/fontawesome/6.1.2/webfonts/fa-regular-400.woff2
  161. BIN docs/_static/vendor/fontawesome/6.1.2/webfonts/fa-solid-900.ttf
  162. BIN docs/_static/vendor/fontawesome/6.1.2/webfonts/fa-solid-900.woff2
  163. BIN docs/_static/vendor/fontawesome/6.1.2/webfonts/fa-v4compatibility.ttf
  164. BIN docs/_static/vendor/fontawesome/6.1.2/webfonts/fa-v4compatibility.woff2
  165. +31 −0 docs/_static/webpack-macros.html
  166. +897 −0 docs/examples.html
  167. BIN docs/examples/example1-1.hires.png
  168. BIN docs/examples/example1-1.pdf
  169. BIN docs/examples/example1-1.png
  170. +0 −65 docs/examples/example1-1.py
  171. +0 −229 docs/examples/example1.html
  172. BIN docs/examples/example2-1.hires.png
  173. BIN docs/examples/example2-1.pdf
  174. BIN docs/examples/example2-1.png
  175. +0 −71 docs/examples/example2-1.py
  176. +0 −195 docs/examples/example2.html
  177. BIN docs/examples/example3-1.hires.png
  178. BIN docs/examples/example3-1.pdf
  179. BIN docs/examples/example3-1.png
  180. +0 −63 docs/examples/example3-1.py
  181. +0 −271 docs/examples/example3.html
  182. +1,628 −36 docs/genindex.html
  183. +961 −142 docs/index.html
  184. +541 −0 docs/nomenclature.html
  185. BIN docs/objects.inv
  186. +612 −0 docs/poisson.html
  187. +504 −36 docs/py-modindex.html
  188. +470 −116 docs/search.html
  189. +1 −1 docs/searchindex.js
  190. +577 −183 docs/setup.html
  191. +0 −128 docs/tutorial/cigale.html
  192. +0 −331 docs/tutorial/index.html
  193. +0 −299 docs/tutorial/lephare.html
  194. +13 −5 example/example1.py
  195. +3 −3 example/example2.py
  196. +12 −3 example/example3.py
  197. +149 −0 example/example4.py
  198. +298 −159 filters.py
  199. +6 −0 logos/LICENCE
  200. +389 −0 logos/concept.svg
  201. BIN logos/logo1.png
  202. +0 −39 make.bat
  203. +611 −319 misc/cigaleModules.py
  204. +5 −2 misc/enum.py
  205. +18 −10 misc/misc.py
  206. +172 −93 misc/properties.py
  207. +25 −17 outputs.py
  208. +76 −17 photometry.py
  209. BIN plot_directive/examples/example1-1.hires.png
  210. BIN plot_directive/examples/example1-1.pdf
  211. BIN plot_directive/examples/example1-1.png
  212. BIN plot_directive/examples/example2-1.hires.png
  213. BIN plot_directive/examples/example2-1.pdf
  214. BIN plot_directive/examples/example2-1.png
  215. +223 −162 sed.py
  216. +1 −1 source/API/catalogues.rst
  217. +1 −1 source/API/filters.rst
  218. +54 −0 source/API/index.rst
  219. +60 −0 source/API/misc/cigaleModules/SFH.rst
  220. +20 −0 source/API/misc/cigaleModules/SFH_quench.rst
  221. +27 −0 source/API/misc/cigaleModules/SSP.rst
  222. +52 −0 source/API/misc/cigaleModules/dust_attenuation.rst
  223. +68 −0 source/API/misc/cigaleModules/dust_emission.rst
  224. +52 −0 source/API/misc/cigaleModules/index.rst
  225. +8 −0 source/API/misc/cigaleModules/nebular.rst
  226. +1 −1 source/API/misc/enum.rst
  227. +37 −0 source/API/misc/index.rst
  228. +1 −3 source/API/misc/misc.rst
  229. +1 −1 source/API/misc/properties.rst
  230. +1 −1 source/API/outputs.rst
  231. +7 −0 source/API/photometry.rst
  232. +1 −1 source/API/sed.rst
  233. +1 −0 source/_static/LICENCE
  234. BIN source/_static/logo1.png
  235. +1 −0 source/_static/mycss.css
  236. +47 −15 source/conf.py
  237. +0 −2 source/docutils.conf
  238. +567 −0 source/examples.rst
  239. +0 −179 source/examples/example1.rst
  240. +0 −147 source/examples/example2.rst
  241. +0 −221 source/examples/example3.rst
  242. +546 −27 source/index.rst
  243. +18 −0 source/nomenclature.rst
  244. +117 −0 source/poisson.rst
  245. +59 −59 source/setup.rst
  246. +0 −8 source/tutorial/cigale.rst
  247. +0 −223 source/tutorial/index.rst
  248. +0 −193 source/tutorial/lephare.rst
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# SED
<p align="center"><img src="logos/logo1.png" alt="Logo of pixSED." width=200 height=200></p>

Provide a python interface to [LePhare](https://www.cfht.hawaii.edu/~arnouts/LEPHARE/lephare.html) and [Cigale](https://cigale.lam.fr/) SED fitting codes in order to perform resolved SED fitting.
pixSED is a python library that allows to seamlessly perform pixel-per-pixel SED fitting on multi-band images using already existing SED fitting codes as backend. Currently, both [LePhare](https://www.cfht.hawaii.edu/~arnouts/LEPHARE/lephare.html) and [Cigale](https://cigale.lam.fr/) are supported but [Cigale](https://cigale.lam.fr/) should be preferred.

Still in developement. Starting with LePhare.

Documentation will follow once LePhare code is working.
See the [documentation](https://wilfriedmercier.github.io/pixSED/) for more details.
3 changes: 2 additions & 1 deletion __init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
r"""
.. codeauthor:: Hugo Plombat - LUPM <hugo.plombat@umontpellier.fr> & Wilfried Mercier - IRAP <wilfried.mercier@irap.omp.eu>
.. codeauthor:: Wilfried Mercier - IRAP/LAM <wilfried.mercier@lam.fr>
Init file for the SED fitting parser library.
"""
@@ -12,3 +12,4 @@
from .outputs import LePhareOutput, CigaleOutput
from .misc import SEDcode, CleanMethod, MagType, TableFormat, TableType, TableUnit, YESNO, ANDOR, IMF
from .misc import cigaleModules as cigmod
from .photometry import countToMag, MagTocount, countToFlux, FluxToCount
2 changes: 1 addition & 1 deletion additional_files/lephare/addFilters.sh
Original file line number Diff line number Diff line change
@@ -2,5 +2,5 @@
# MERCIER Wilfried - IRAP
# A bash wrapper to automatically add the filters in filter directory into LePhare database

cp -r hst_filters "$LEPHAREDIR"/filt
cp -r filters "$LEPHAREDIR"/filt/hst_filters
exit 0
2 changes: 1 addition & 1 deletion catalogues.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
r"""
.. codeauthor:: Hugo Plombat - LUPM <hugo.plombat@umontpellier.fr> & Wilfried Mercier - IRAP <wilfried.mercier@irap.omp.eu>
.. codeauthor:: Hugo Plombat - LUPM <hugo.plombat@umontpellier.fr> & Wilfried Mercier - IRAP/LAM <wilfried.mercier@lam.fr>
Base classes used to generate catalogues for LePhare or Cigale SED fitting codes.
"""
15 changes: 7 additions & 8 deletions coloredMessages.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
.. codeauthor:: Wilfried Mercier - IRAP <wilfried.mercier@irap.omp.eu>
.. codeauthor:: Wilfried Mercier - IRAP/LAM <wilfried.mercier@lam.fr>
General functions to format io output using ANSII sequences using colorama.
"""
@@ -10,7 +10,7 @@

def errorMessage(text):
'''
.. codeauthor:: Wilfried Mercier - IRAP <wilfried.mercier@irap.omp.eu>
.. codeauthor:: Wilfried Mercier - IRAP/LAM <wilfried.mercier@lam.fr>
Colorise text in red and emphasise it for error messages.
@@ -24,7 +24,7 @@ def errorMessage(text):

def okMessage(text):
'''
.. codeauthor:: Wilfried Mercier - IRAP <wilfried.mercier@irap.omp.eu>
.. codeauthor:: Wilfried Mercier - IRAP/LAM <wilfried.mercier@lam.fr>
Dim green text for validation messages.
@@ -38,7 +38,7 @@ def okMessage(text):

def brightMessage(text):
'''
.. codeauthor:: Wilfried Mercier - IRAP <wilfried.mercier@irap.omp.eu>
.. codeauthor:: Wilfried Mercier - IRAP/LAM <wilfried.mercier@lam.fr>
Emphasize a text by brightening it.
@@ -52,7 +52,7 @@ def brightMessage(text):

def dimMessage(text):
'''
.. codeauthor:: Wilfried Mercier - IRAP <wilfried.mercier@irap.omp.eu>
.. codeauthor:: Wilfried Mercier - IRAP/LAM <wilfried.mercier@lam.fr>
Dim a text.
@@ -66,7 +66,7 @@ def dimMessage(text):

def warningMessage(text):
'''
.. codeauthor:: Wilfried Mercier - IRAP <wilfried.mercier@irap.omp.eu>
.. codeauthor:: Wilfried Mercier - IRAP/LAM <wilfried.mercier@lam.fr>
Same as error message but using yellow instead of red.
@@ -76,5 +76,4 @@ def warningMessage(text):
:rtype: str
'''

return col.Style.BRIGHT + col.Fore.YELLOW + text + col.Style.RESET_ALL

return col.Style.BRIGHT + col.Fore.YELLOW + text + col.Style.RESET_ALL
Loading