https://github.com/andrew-saydjari/apmadgics.jl
Pipeline for APOGEE spectra component separation
Science Score: 13.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
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.9%) to scientific vocabulary
Repository
Pipeline for APOGEE spectra component separation
Basic Info
Statistics
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 9
- Releases: 2
Metadata Files
README.md
apMADGICS 
Pipeline for APOGEE spectra using Marginalized Analytic Dataspace Gaussian Inference for Component Separation (MADGICS).
Installation
This is a pipeline. Not a package. It is not really meant to be installed. The pipeline.jl script is meant to be run. This repo documents the development and versions of the pipeline for transparency and reproducibility.
If you wish to download the code and have the dependencies required to run it installed, you can install directly from GitHub.
julia
import Pkg
Pkg.add(url="https://github.com/andrew-saydjari/apMADGICS.jl")
Inputs
The pipeline runs on a list of tuples. Those tuples have the form (runindx, release_dir, redux_ver, tele, field, plate, mjd, fiberindx).
- runindx is arbitrary and is a linear index for file name incrementing when batching.
- release_dir and redux_ver specify which version of the data to point at (see examples below).
- tele is either apo25m or lco25m for the APO or LCO 2.5 meter locations for APOGEE (North and South, respectively).
- field is a pointing identifier, plate is a fiber configuration identifier, and mjd is a 5-digit rough date index.
- fiberindex is the fiberindex (1-300) of the spectra on the CCD. Note that this index is reversed (301-fibernum) from the fibernum reported in the allVisit and allStar summary files. However, this index is the real index on the CCD... which is by far the more reasonable index to work in.
One example is
(273, "sdsswork/mwm", "daily", "apo25m", "101689", "6455", "59817", 295)
which runs an observation from APOGEE-North that has been reduced from 3D -> 1D by the daily pipeline.
Another example is
(10, "dr17", "dr17", "apo25m0000010i", "180+60", "9667", "58126", 295)
which shows how injection tests are handled. This is an injection test into sky observations from DR17 taken on APOGEE-North. The trailing "i" indicates that it is an injection and the number after "apo25m" is a dummy index to prevent collisions of multiple injections into the same sky observation.
gridSearch Module Flag Bits
There is still a (much smaller dimensional) space that MADGICS needs to sample over (e.g. radial velocity). We have a custom grid-sampler module to implement that sampling. The flag bits from that module are below.
| Value | Bit | Meaning | | ----------- | ----------- | ----------- | | 0 | - | No problems | | 1 | 0 | Interpolated minimum not less than minimum (should not occur) | | 2 | 1 | Minimum index at edge of grid for dimension 1 | | 4 | 2 | Minimum index at edge of grid for dimension 2 | | 8 | 3 | Finite difference Hessian beyond grid edge | | 16 | 4 | Bad curvature of chi2 surface (can't invert full 2d Hessian)| | 32 | 5 | Very bad curvature of chi2 surface (can't invert diagonal entries)|
Ingest Module Flag Bits
During ingestion, some of the exposure files may have issues that cause the spectrum to come through apMADGICS.jl as a vector of only NaNs. This pipeline bit gives insight into the root cause of why this (tiny fraction of the) data is unable to be processed.
| Value | Bit | Meaning | | ----------- | ----------- | ----------- | | 0 | - | No problems | | 2 | 1 | ap1D flux was NaNs (for at least one of the exposures) | | 4 | 2 | DRP masked all pixels (for at least one of the exposures) | | 8 | 3 | Error calibration NaNed observation or upstream stddev NaNs (for at least one of the exposures) | | 16 | 4 | All NaNs or zeros after interpolation | | 32 | 5 | Thrpt in apFlux file below thrptcut, NaNed by apMADGICS.jl | | 64 | 6 | NaNs in apFlux file, but apMADGICS.jl does not depend on these values |
Owner
- Name: Andrew Saydjari
- Login: andrew-saydjari
- Kind: user
- Location: Cambridge, MA
- Company: @Harvard
- Website: https://andrew-saydjari.github.io/
- Repositories: 8
- Profile: https://github.com/andrew-saydjari
5th Year PhD student @ Harvard Physics. BS/MS @ Yale '18. I am an astronomer interested in data science working on dust.
GitHub Events
Total
- Issues event: 1
- Delete event: 9
- Issue comment event: 1
- Push event: 15
- Pull request event: 27
- Create event: 15
Last Year
- Issues event: 1
- Delete event: 9
- Issue comment event: 1
- Push event: 15
- Pull request event: 27
- Create event: 15
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 3
- Total pull requests: 91
- Average time to close issues: 8 months
- Average time to close pull requests: about 19 hours
- Total issue authors: 1
- Total pull request authors: 2
- Average comments per issue: 0.33
- Average comments per pull request: 0.03
- Merged pull requests: 80
- Bot issues: 0
- Bot pull requests: 38
Past Year
- Issues: 0
- Pull requests: 20
- Average time to close issues: N/A
- Average time to close pull requests: 5 days
- Issue authors: 0
- Pull request authors: 2
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 12
- Bot issues: 0
- Bot pull requests: 17
Top Authors
Issue Authors
- andrew-saydjari (3)
Pull Request Authors
- andrew-saydjari (53)
- github-actions[bot] (38)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/checkout v2 composite
- codecov/codecov-action v2 composite
- julia-actions/cache v1 composite
- julia-actions/julia-buildpkg v1 composite
- julia-actions/julia-processcoverage v1 composite
- julia-actions/julia-runtest v1 composite
- julia-actions/setup-julia v1 composite
- JuliaRegistries/TagBot v1 composite
- actions/checkout v3 composite
- codecov/codecov-action v3 composite
- julia-actions/cache v1 composite
- julia-actions/julia-buildpkg v1 composite
- julia-actions/julia-processcoverage v1 composite
- julia-actions/julia-runtest v1 composite
- julia-actions/setup-julia v1 composite
- actions/checkout v3 composite
- julia-actions/cache v1 composite
- julia-actions/julia-buildpkg v1 composite
- julia-actions/julia-runtest v1 composite
- julia-actions/setup-julia v1 composite