Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
2 of 7 committers (28.6%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.3%) to scientific vocabulary
Repository
fast 1D LTE stellar spectral synthesis
Basic Info
- Host: GitHub
- Owner: ajwheeler
- License: bsd-3-clause
- Language: Julia
- Default Branch: main
- Homepage: https://ajwheeler.github.io/Korg.jl/
- Size: 85.5 MB
Statistics
- Stars: 57
- Watchers: 6
- Forks: 9
- Open Issues: 39
- Releases: 89
Metadata Files
README.md
Korg.jl
Korg is a package for computing stellar spectra from 1D model atmospheres and linelists assuming local thermodynamic equilibrium. It can be used with Julia or Python. Here's some things it can do: - Computing spectra from Teff, logg, abundances, etc. - Fitting whole spectra or individual lines via synthesis or equivalent widths - Excitation-ionization balance from equivalent width data - Model atmosphere interpolation, parsing and using atmosphere files (MARCS) - Parsing and using linelists in VALD, Kurucz, MOOG, ExoMol, and Turbospectrum formats, with several defaults built-in. - Automatic differentiaion (via ForwardDiff.jl) - Synthesis with arbitrary abundances/solar abundance scales, with several defaults built-in.
After installing Korg, get started by looking at the top-level functions or the tutorial notebooks.
Example
(Python version below) ```julia using Korg, PyPlot
wls, flux, continuum = synth( Teff=5000, # effective temperature of 5000 Kelvin logg=4.32, # surface gravity of 10^(4.32) cm/s² mH=-1.1, # metallicity, [m/H]. Overridden for individual elements by alphaH and individual abundances C=-0.5, # The Carbon abundance, [C/H]. Works for anything from He to U. linelist=Korg.getGALAHDR3_linelist(), wavelengths=(5850, 5900) )
plot
figure(figsize=(12, 4))
plot(wls, flux, "k-")
xlabel(L"$\lambda$ [Å]")
ylabel(L"$F\lambda/R\mathrm{star}^2$ [erg s$^{-1}$ cm$^{-5}$]");
```
See the documentation for synth, or the documentation for synthesize for advanced usage.
Code papers (please cite these if you use Korg):
- Korg: A Modern 1D LTE Spectral Synthesis Package. This is also a good overview of how spectral synthesis works, the inputs and outputs, etc.
- Korg: fitting, model atmosphere interpolation, and Brackett lines
Tutorials:
Getting help
If you are having trouble using or installing Korg, please get in touch by opening a GitHub issue (preferred), or sending Adam an email.
You can also call Korg from python
See the documentation for setup instructions. ```python from juliacall import Main as jl jl.seval("using Korg"); Korg = jl.Korg
calling Korg.synth is exactly the same as in Julia.
wls, flux, continuum = Korg.synth( Teff=5000, logg=4.32, mH=-1.1, C=-0.5, linelist=Korg.getGALAHDR3linelist(), wavelengths=(5850, 5900) ) ```
Multithreading
Korg can use multithreading to speed up line opacity calculation, the most expensive step for syntheses.
To use it launch Julia with more than one thread, using the -t command-line argument, or by setting the $JULIA_NUM_THREADS environment variable.
Owner
- Name: Adam Wheeler
- Login: ajwheeler
- Kind: user
- Company: Ohio State University
- Website: ajwheeler.github.io
- Repositories: 23
- Profile: https://github.com/ajwheeler
CodeMeta (codemeta.json)
{
"@context": "https://doi.org/10.5063/schema/codemeta-2.0",
"@type": "SoftwareSourceCode",
"name": "Korg: 1D local thermodynamic equilibrium stellar spectral synthesis",
"description": "Korg computes stellar spectra from 1D model atmospheres and linelists assuming local thermodynamic equilibrium and implements both plane-parallel and spherical radiative transfer. The code is generally faster than other codes, and is compatible with automatic differentiation libraries and easily extensible, making it ideal for statistical inference and parameter estimation applied to large data sets.",
"identifier": "ascl:2211.016",
"author": [
{
"@type": "Person",
"givenName": "Adam J.",
"familyName": "Wheeler",
"@id": "https://orcid.org/0000-0001-7339-5136"
},
{
"@type": "Person",
"givenName": "Matthew W.",
"familyName": "Abruzzo",
"@id": "https://orcid.org/0000-0002-7918-3086"
},
{
"@type": "Person",
"givenName": "Andrew R.",
"familyName": "Casey",
"@id": "https://orcid.org/0000-0003-0174-0564"
},
{
"@type": "Person",
"givenName": "Melissa K.",
"familyName": "Ness",
"@id": "https://orcid.org/0000-0001-5082-6693"
}
],
"citation": "https://ui.adsabs.harvard.edu/abs/arXiv:2211.00029",
"relatedLink": [],
"codeRepository": [
"https://github.com/ajwheeler/korg.jl"
],
"referencePublication": [
{
"@type": "ScholarlyArticle",
"url": "https://ui.adsabs.harvard.edu/abs/2023AJ....165...68W/abstract",
"@id": "https://doi.org/10.3847/1538-3881/acaaad"
}
],
"license": "https://spdx.org/licenses/BSD-3-Clause.html"
}
GitHub Events
Total
- Create event: 102
- Commit comment event: 22
- Issues event: 53
- Release event: 9
- Watch event: 16
- Delete event: 87
- Issue comment event: 159
- Push event: 343
- Pull request review event: 43
- Pull request review comment event: 72
- Pull request event: 151
- Fork event: 4
Last Year
- Create event: 102
- Commit comment event: 22
- Issues event: 53
- Release event: 9
- Watch event: 16
- Delete event: 87
- Issue comment event: 159
- Push event: 343
- Pull request review event: 43
- Pull request review comment event: 72
- Pull request event: 151
- Fork event: 4
Committers
Last synced: about 3 years ago
All Time
- Total Commits: 752
- Total Committers: 7
- Avg Commits per committer: 107.429
- Development Distribution Score (DDS): 0.383
Top Committers
| Name | Commits | |
|---|---|---|
| Adam Wheeler | a****r@c****u | 464 |
| Adam Wheeler | w****3@o****u | 140 |
| Adam Wheeler | a****r@g****m | 67 |
| Matthew Abruzzo | m****o@g****m | 61 |
| Andy Casey | a****y@g****m | 9 |
| CompatHelper Julia | c****y@j****g | 8 |
| github-actions[bot] | 4****]@u****m | 3 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 9 months ago
All Time
- Total issues: 107
- Total pull requests: 407
- Average time to close issues: 5 months
- Average time to close pull requests: 12 days
- Total issue authors: 15
- Total pull request authors: 10
- Average comments per issue: 3.0
- Average comments per pull request: 1.1
- Merged pull requests: 321
- Bot issues: 0
- Bot pull requests: 32
Past Year
- Issues: 44
- Pull requests: 180
- Average time to close issues: 5 days
- Average time to close pull requests: 9 days
- Issue authors: 9
- Pull request authors: 8
- Average comments per issue: 0.34
- Average comments per pull request: 0.73
- Merged pull requests: 130
- Bot issues: 0
- Bot pull requests: 16
Top Authors
Issue Authors
- ajwheeler (66)
- segasai (14)
- mabruzzo (9)
- zachway1996 (3)
- andrew-saydjari (3)
- svenbuder (2)
- tadmatsuno (2)
- fredifqh (1)
- djohn134 (1)
- catmanea (1)
- andycasey (1)
- shbhuk (1)
- zachway (1)
- JuliaTagBot (1)
- 13emilygriffith (1)
Pull Request Authors
- ajwheeler (352)
- github-actions[bot] (26)
- dependabot[bot] (6)
- mabruzzo (5)
- andycasey (5)
- andrew-saydjari (4)
- CharleskingSpikeArphience (3)
- pacargile (2)
- abhro (2)
- cgarling (2)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- julia 30 total
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 89
juliahub.com: Korg
fast 1D LTE stellar spectral synthesis
- Homepage: https://ajwheeler.github.io/Korg.jl/
- Documentation: https://docs.juliahub.com/General/Korg/stable/
- License: BSD-3-Clause
-
Latest release: 0.47.1
published 10 months ago
Rankings
Dependencies
- JuliaRegistries/TagBot v1 composite
- actions/cache v2 composite
- actions/checkout v2 composite
- codecov/codecov-action v1 composite
- julia-actions/julia-buildpkg latest composite
- julia-actions/julia-docdeploy latest composite
- julia-actions/julia-processcoverage v1 composite
- julia-actions/julia-runtest latest composite
- julia-actions/setup-julia v1 composite