Skip to content

Commit

Permalink
Update logos to support dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ruicoelhopedro committed Feb 9, 2024
1 parent d7cb0a2 commit b9b896f
Show file tree
Hide file tree
Showing 5 changed files with 85 additions and 2 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
<div align="center">
<img width="250" src="docs/source/logo.svg" alt="piglot logo" />
<picture>
<source media="(prefers-color-scheme: dark)" srcset="docs/source/media/logo_dark.svg">
<source media="(prefers-color-scheme: light)" srcset="docs/source/media/logo.svg">
<img alt="Hashnode logo" src="docs/source/media/logo.svg" width="250">
</picture>
</div>

A Python package for the optimisation of numerical responses.
Expand Down
2 changes: 1 addition & 1 deletion docs/joss_paper/paper.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ bibliography: references.bib
# Summary
`piglot` is an open-source Python tool taylored for the automated optimisation of responses stemming from numerical solvers. With this tool we aim at providing a simple and user-friendly interface which is also easily extendable, allowing intergration with other solvers within the community. `piglot` provides a versatile solution for solving inverse problems on several research areas, such as structural analysis, material modelling, fluid dynamics, control systems or astrophysics, using, for instance, finite element analysis, spectral methods or Monte Carlo methods. The primary emphasis is on derivative-free optimisation, ensuring compatibility with black-box solvers in scenarios where gradient information is not available, and cases where the function evaluations may be noisy.

![Logo of `piglot`. \label{fig:piglot_logo}](../source/logo.svg){width=35%}
![Logo of `piglot`. \label{fig:piglot_logo}](../source/media/logo.svg){width=35%}

# Statement of need

Expand Down
File renamed without changes
77 changes: 77 additions & 0 deletions docs/source/media/logo_dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions examples/input_data_file_template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,9 @@ objective:
name: fitting
#
# (Optional) Use a composite technique for optimisation, by default False.
# Also, the reduction function can be specified (by default, uses the mse).
composite: False
reduction: mse
#
# (Optional) Use noise for optimisation, by default False.
stochastic: False
Expand Down

0 comments on commit b9b896f

Please sign in to comment.