Upgrade to Pro — share decks privately, control downloads, hide ads and more …

JSol'Ex : solar image processing in Java

JSol'Ex : solar image processing in Java

Cédric Champeau

October 04, 2023

More Decks by Cédric Champeau

Other Decks in Science


  1. #Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] About me - Working

    at Oracle Labs on Micronaut Main focus on build plugins and dev productivitity @[email protected] - Formerly working at Gradle Inc - Author of static compiler of Groovy - Amateur astronomer @[email protected] https://www.astrobin.com/users/melix/ https://bit.ly/3eGD0GM (Youtube)
  2. #Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] Sol’Ex Project • Sol’Ex

    = Solar Explorer • Invented by Christian Build (amateur astronomer) • Community driven and DIY http://www.astrosurf.com/solex/sol-ex-presentation-en.html
  3. #Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] Sol’Ex Project • Can

    choose wavelength • Very fine resolution (<0.2 Å), narrower than typical filters (several Å) • Upgrade to star spectrography (Star’Ex project) • But no direct images! • Official software : INTI by Valérie Desnoux
  4. #Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] Sol’Ex Project : Build

    your own! • Azur3DPrint : 3d printed parts – https://azur3dprintshop.com/ – Coupon DEVOXX2023, 10% off Sol’Ex V2 (exp 30/10) • Shelyak Instruments : optical kit – https://www.shelyak.com/
  5. #Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] INTI • Official software,

    Open Source, GPL • http://valerie.desnoux.free.fr/inti/ • Written in Python, Windows installer (1GB)
  6. #Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] JSol’Ex backstory • Educational

    purpose – Understand how Sol’Ex / SHG works – Am I still a capable developer ? • Technical challenge • Technology playground (JavaFX, vector API, ...) • Show that Java is very capable for real science https://melix.github.io/blog/2023/04-22-introducing-astro4j.html
  7. #Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] JSol’Ex • Written in

    Java • OpenSource, Apache version 2 • https://github.com/melix/astro4j • Installers for Windows, Linux, Mac (~50MB)
  8. #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 for builing
  9. #Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] Jsol’Ex : ImageMath •

    An expression language dedicated to processing • One click : many results • e.g Helium line processing, animation creation
  10. #Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] Jsol’Ex : lessons learnt

    • Programming is fun • Many challenging problems, math is hard! • Scientific literature is hard to convert to algorithms • Happy users are your reward for hard work • Java 17+ : 😍 • Java modules : 🤨
  11. #Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] Conclusion: Sol’Ex • It’s

    real science • https://bass2000.obspm.fr/home.php • A bit of tinkering but extremely satisfying • Some “forks” already exist • Join us!
  12. #Devoxx #SolEx #JSolEx #Solar @[email protected] @[email protected] Resources • Sol’Ex project:

    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/