Science Score: 57.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.2%) to scientific vocabulary
Last synced: 10 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: tamasgal
  • License: mit
  • Language: Julia
  • Default Branch: main
  • Size: 8.48 MB
Statistics
  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 3 years ago · Last pushed over 1 year ago
Metadata Files
Readme License Citation

README.md

RainbowAlga.jl

Dev Build Status Coverage

The RainbowAlga.jl package is an interactive 3D display which visualises events in water and ice Cherenkov neutrino telescopes. The underlying engine is Makie.jl.

Installation

RainbowAlga.jl is not an officially registered Julia package but it's available via the KM3NeT Julia registry. To add the KM3NeT Julia registry to your local Julia registry list, follow the instructions in its README or simply do

shell git clone https://git.km3net.de/common/julia-registry ~/.julia/registries/KM3NeT

After that, you can add RainbowAlga.jl just like any other Julia package:

julia julia> import Pkg; Pkg.add("RainbowAlga")

Quickstart

RainbowAlga has a global scene object which can be manipulated using several functions. RainbowAlga.run() can be called to display the scene at any time, usually right after loading the package.

``` julia julia> using RainbowAlga, KM3io, KM3NeTTestData

julia> d = Detector(datapath("detx", "KM3NeT0000013320221025.detx"))

julia> update!(d)

julia> RainbowAlga.run() ```

To manipulate the scene, the update!() and add!() functions can be used which act on the global RainbowAlga instance. As seen in the example above, the detector geometry is "updated" using update!(d). Tracks and hits can be added in a similar way, but using add!(hits). Check out the scripts/vhe_paper.jl script for more inspiration.

Performance Issues

If you encounter any performance issues, you can remove e.g. the detailed DOM rendering by passing simplified_doms=true to update!(detector; ...), like

julia julia> update!(d; simplified_doms=true)

Make sure not to overuse add!(hits), since each hit cloud adds some overhead to the animation loop, even if not fully displayed.

Keybindings

You can use and to go back and forth in time and R to reset the time.

| Key | Command | |-------------------|---------------------------| | | Time step back | | | Time step forward | | | Faster | | | Slower | | , | Decrease ToT cut | | . | Increase ToT cut | | R | Reset time to 0 | | A | Toggle auto-rotation | | L | Toggle loop | | D | Toggle dark mode | | C | Cycle between hit clouds | | 1 - 9 | Load perspective | | Shift1 - 9 | Save perspective | | Space | Play/Pause | | Q | Quit |

RainbowAlga Screenshot

Performance

In case your computer is too slow to run a smooth animation and the Julia REPL is not responding quickly enough (or at all), consider lowering the framees per second (FPS) of the animation. It is best to set the FPS before calling RainbowAlga.run(), e.g. to 10 FPS:

julia julia> setfps!(10)

Owner

  • Name: Tamas Gal
  • Login: tamasgal
  • Kind: user
  • Location: Nuremberg (Germany)
  • Company: Erlangen Centre for Astroparticle Physics, KM3NeT, IceCube

Astroparticle physicist, software developer and DevOps engineer at Erlangen Centre for Astroparticle Physics (ECAP)

Citation (CITATION.bib)

@misc{RainbowAlga.jl,
	author  = {Tamas Gal <himself@tamasgal.com> and contributors},
	title   = {RainbowAlga.jl},
	url     = {https://git.km3net.de/tgal/RainbowAlga.jl},
	version = {v1.0.0-DEV},
	year    = {2023},
	month   = {7}
}

GitHub Events

Total
  • Watch event: 2
  • Push event: 13
  • Create event: 5
Last Year
  • Watch event: 2
  • Push event: 13
  • Create event: 5

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels