Slide 1

Slide 1 text

#Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] JSol'Ex Traitement d’images solaires en Java Cédric Champeau Oracle Labs

Slide 2

Slide 2 text

#Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] Qui suis-je ? - Travaille pour Oracle Labs on Micronaut Principalement sur plugins de build et productivité développeur @[email protected] - Vie d’avant chez Gradle Inc - Auteur du compilateur statique de Groovy - Astronome amateur @[email protected] https:/ /www.astrobin.com/users/melix/ https:/ /bit.ly/3eGD0GM (Youtube) https:/ /melix.github.io/blog/2022/07/je-suis-le-gars-chiant.html

Slide 3

Slide 3 text

#Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] Le seul gros mot de cette conférence https://www.observatoiredeparis.psl.eu/le-spectroheliographe-de.html

Slide 4

Slide 4 text

#Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] Le projet Sol’Ex ● Sol’Ex = Solar Explorer ● Inventé par Christian Buil (astronome amateur) ● Projet collaboratif et DIY http://www.astrosurf.com/solex/

Slide 5

Slide 5 text

#Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] Projet Sol’Ex

Slide 6

Slide 6 text

#Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] Quelques exemples d’images

Slide 7

Slide 7 text

#Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] D’autres exemples

Slide 8

Slide 8 text

#Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] De la science !

Slide 9

Slide 9 text

#Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] A bas coût

Slide 10

Slide 10 text

#Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] Plongée dans l’atmosphère solaire

Slide 11

Slide 11 text

#Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] Projet Sol’Ex 10 Ångström (10 Å) = 1 nm

Slide 12

Slide 12 text

#Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] Le Sol’Ex ● Permet de choisir la longueur d’onde ● Résolution très fine (<0.2 Å), meilleure que les filtres typiques (plusieurs Å) ● Transformable en spectrographe stellaire (Star’Ex project) ● Mais ne produit pas directement d’images ! ● Logiciel officiel : INTI par Valérie Desnoux

Slide 13

Slide 13 text

#Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] Le Sol’Ex

Slide 14

Slide 14 text

#Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] Animation Sol'Ex par Jérôme Bastardie

Slide 15

Slide 15 text

#Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] Fabriquer son Sol’Ex ● Azur3DPrint : impression 3D – https:/ /azur3dprintshop.com/ ● Shelyak Instruments : optical kit – https:/ /www.shelyak.com/

Slide 16

Slide 16 text

#Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] INTI ● Logiciel Open Source, GPL ● http://valerie.desnoux.free.fr/inti/ ● Ecrit en Python, Windows installer (1GB)

Slide 17

Slide 17 text

#Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] JSol’Ex : la génèse ● Avant tout pour apprendre – Comprendre comment Sol’Ex / SHG fonctionne – Suis-je encore capable de coder une application ? ● Challenge technique et scientifique ● Bac à sable technologique (JavaFX, vector API, ...) ● Montrer qu’on peut faire de la science avec Java https:/ /melix.github.io/blog/2023/04-22-introducing-astro4j.html

Slide 18

Slide 18 text

#Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] JSol’Ex ● Ecrit in Java ● OpenSource, Apache version 2 ● https:/ /github.com/melix/astro4j ● Installeurs pour Windows, Linux, Mac (~70MB)

Slide 19

Slide 19 text

#Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] JSol’Ex ● Technology stack – JavaFX for UI – Micronaut for CLI – Java modules – JLink + JPackage for distribution – Experimental GraalVM native image binaries – Gradle pour les builds

Slide 20

Slide 20 text

#Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] JSol’Ex ● Fonctionalités principales – Décodage de fichiers SER – Reconstruction d’une image – Corrections géométriques – Colorisation automatique – Création d’images “eclipse virtuelle”, “doppler”, “inversée” ou “continuum” – Création d’animations – Empilement d’images et création de mosaïques

Slide 21

Slide 21 text

#Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] JSol’Ex

Slide 22

Slide 22 text

#Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] JSol’Ex DEMO

Slide 23

Slide 23 text

#Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] Jsol’Ex : corrections géométriques

Slide 24

Slide 24 text

#Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] Jsol’Ex : flou / disques incomplets

Slide 25

Slide 25 text

#Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] Jsol’Ex : ImageMath ● Langage d’expressions dédié au traitement ● Plein d’images en un clic ● ex. Helium line processing, création d’animations...

Slide 26

Slide 26 text

#Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] Jsol’Ex : ce que j’ai appris ● Développer c’est fun ● Beaucoup de problèmes complexes, les maths c’est difficile! ● Litérature scientique pas simple à convertir en algorithmes ● Les utilisateurs contents sont votre récompense ● Java 17+ : 😍 ● Java modules : 🤨

Slide 27

Slide 27 text

#Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] Conclusion: Sol’Ex ● C’est de la vraie science ● https:/ /bass2000.obspm.fr/home.php ● Pas mal de bricolage mais très satisfaisant ● Des variantes existent déja ● Rejoignez nous !

Slide 28

Slide 28 text

#Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] Resources ● Sol’Ex : http:/ /www.astrosurf.com/solex/ ● INTI: http:/ /valerie.desnoux.free.fr/inti/ ● JSol’Ex: https:/ /github.com/melix/astro4j ● Sol’Ex English mailing list: https:/ /groups.io/g/Solex-English ● Azur3dPrint: https:/ /azur3dprintshop.com/ ● Shelyak: https:/ /www.shelyak.com/