-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from haukekoehn/train_fluxes
Updates on NN architecture, Filters, redshift and tests
- Loading branch information
Showing
186 changed files
with
2,925 additions
and
2,931 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Unittest | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
test: | ||
runs-on: ${{ matrix.os }} | ||
defaults: | ||
run: | ||
shell: bash | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: ["ubuntu-latest"] | ||
python-version: ["3.10", "3.11", "3.12"] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Python with Conda ${{ matrix.python-version }} | ||
uses: conda-incubator/setup-miniconda@v3 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
architecture: ${{ 'x86_64' }} | ||
miniforge-version: latest | ||
use-mamba: true | ||
mamba-version: "*" | ||
activate-environment: fiesta_env | ||
|
||
- name: Install Python dependencies | ||
run: | | ||
python -m pip install --upgrade pip setuptools wheel | ||
python -m pip install pytest pytest-cov pytest-aiohttp sqlparse freezegun PyJWT joblib coveralls | ||
python -m pip install . | ||
- name: Perform tests with pytest | ||
run: | | ||
python -m coverage run --source fiesta -m pytest tests/*.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,11 @@ | ||
__pycache__ | ||
.coverage | ||
*egg-info | ||
/flux_models/*/benchmarks | ||
/lightcurve_models/*/benchmarks | ||
/flux_models/*/model/*.h5 | ||
/lightcurve_models/*/model/*.h5 | ||
*nohup.out | ||
*.sbatch | ||
*/log | ||
*/err |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 24 additions & 34 deletions
58
flux_models/afterglowpy_gaussian/benchmark_afterglowpy_gaussian.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-32.1 KB
...els/afterglowpy_gaussian/benchmarks/afterglowpy_gaussian_X-ray-1keV_example.png
Binary file not shown.
Binary file removed
BIN
-32 KB
...odels/afterglowpy_gaussian/benchmarks/afterglowpy_gaussian_bessellv_example.png
Binary file not shown.
Binary file removed
BIN
-32.6 KB
...els/afterglowpy_gaussian/benchmarks/afterglowpy_gaussian_radio-3GHz_example.png
Binary file not shown.
Binary file removed
BIN
-32.8 KB
...els/afterglowpy_gaussian/benchmarks/afterglowpy_gaussian_radio-6GHz_example.png
Binary file not shown.
Binary file removed
BIN
-420 KB
flux_models/afterglowpy_gaussian/benchmarks/benchmark_X-ray-1keV_L2.pdf
Binary file not shown.
Binary file removed
BIN
-478 KB
flux_models/afterglowpy_gaussian/benchmarks/benchmark_X-ray-1keV_Linf.pdf
Binary file not shown.
Binary file removed
BIN
-478 KB
flux_models/afterglowpy_gaussian/benchmarks/benchmark_X-ray-1keV_Linf_before.pdf
Binary file not shown.
Binary file removed
BIN
-424 KB
flux_models/afterglowpy_gaussian/benchmarks/benchmark_bessellv_L2.pdf
Binary file not shown.
Binary file removed
BIN
-484 KB
flux_models/afterglowpy_gaussian/benchmarks/benchmark_bessellv_Linf.pdf
Binary file not shown.
Binary file removed
BIN
-482 KB
flux_models/afterglowpy_gaussian/benchmarks/benchmark_bessellv_Linf_before.pdf
Binary file not shown.
Binary file removed
BIN
-451 KB
flux_models/afterglowpy_gaussian/benchmarks/benchmark_radio-3GHz_L2.pdf
Binary file not shown.
Binary file removed
BIN
-519 KB
flux_models/afterglowpy_gaussian/benchmarks/benchmark_radio-3GHz_Linf.pdf
Binary file not shown.
Binary file removed
BIN
-510 KB
flux_models/afterglowpy_gaussian/benchmarks/benchmark_radio-3GHz_Linf_before.pdf
Binary file not shown.
Binary file removed
BIN
-445 KB
flux_models/afterglowpy_gaussian/benchmarks/benchmark_radio-6GHz_L2.pdf
Binary file not shown.
Binary file removed
BIN
-513 KB
flux_models/afterglowpy_gaussian/benchmarks/benchmark_radio-6GHz_Linf.pdf
Binary file not shown.
Binary file removed
BIN
-507 KB
flux_models/afterglowpy_gaussian/benchmarks/benchmark_radio-6GHz_Linf_before.pdf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-73 KB
flux_models/afterglowpy_gaussian/benchmarks/error_over_time_before.pdf
Binary file not shown.
Binary file removed
BIN
-60.4 KB
flux_models/afterglowpy_gaussian/benchmarks/learning_curves_gaussian.png
Binary file not shown.
Binary file removed
BIN
-33.5 KB
flux_models/afterglowpy_gaussian/benchmarks/worst_lightcurves_L2.pdf
Binary file not shown.
Binary file removed
BIN
-33.8 KB
flux_models/afterglowpy_gaussian/benchmarks/worst_lightcurves_Linf.pdf
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file modified
BIN
+7.43 MB
(140%)
flux_models/afterglowpy_gaussian/model/gaussian_metadata.pkl
Binary file not shown.
Oops, something went wrong.