Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elastic format data #291

Open
wants to merge 25 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
4424099
added a function in Lens class to generate a lens id
nkhadka21 Nov 19, 2024
7358f93
added a function in Lens class to generate a lens id
nkhadka21 Nov 19, 2024
cc296c2
minor change
nkhadka21 Nov 20, 2024
0ffd561
minor change
nkhadka21 Nov 20, 2024
2cc6eaa
minor change in skypy configuration file.
nkhadka21 Nov 21, 2024
d974a29
added functions to generate lightcurves in a given cadence.
nkhadka21 Dec 4, 2024
08aaa5f
Merge branch 'main' of https://github.com/nkhadka21/slsim into elasti…
nkhadka21 Dec 4, 2024
098ad0b
Autofix formatting from pre-commit.com hooks
pre-commit-ci[bot] Dec 4, 2024
65663b0
changes a test data file.
nkhadka21 Dec 4, 2024
f28e1ef
added test functions for newly added routine.
nkhadka21 Dec 5, 2024
3033ba2
Merge branch 'elastic_format_data' of https://github.com/nkhadka21/sl…
nkhadka21 Dec 5, 2024
1cd0d1d
Autofix formatting from pre-commit.com hooks
pre-commit-ci[bot] Dec 5, 2024
f757f46
minor change
nkhadka21 Dec 5, 2024
149dd5d
Merge branch 'elastic_format_data' of https://github.com/nkhadka21/sl…
nkhadka21 Dec 5, 2024
965d56a
added test functions
nkhadka21 Dec 5, 2024
976bc1d
added test functions
nkhadka21 Dec 5, 2024
f910c26
minor changes
nkhadka21 Dec 5, 2024
fa29ff9
added test function for plot functions.
nkhadka21 Dec 5, 2024
464abff
Autofix formatting from pre-commit.com hooks
pre-commit-ci[bot] Dec 5, 2024
07e860f
added test function for plot functions.
nkhadka21 Dec 5, 2024
f30e29f
Merge branch 'elastic_format_data' of https://github.com/nkhadka21/sl…
nkhadka21 Dec 5, 2024
6b1ecc2
Autofix formatting from pre-commit.com hooks
pre-commit-ci[bot] Dec 5, 2024
0395c5a
added test function for plot functions.
nkhadka21 Dec 6, 2024
03ebc23
Merge branch 'elastic_format_data' of https://github.com/nkhadka21/sl…
nkhadka21 Dec 6, 2024
5e2be05
Autofix formatting from pre-commit.com hooks
pre-commit-ci[bot] Dec 6, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions data/SkyPy/lsst-like.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ tables:
magnitudes: $blue.M
coefficients: $blue.coeff
filter: bessell-B
mag_g, mag_r, mag_i, mag_z, mag_Y: !skypy.galaxies.spectrum.kcorrect.apparent_magnitudes
mag_g, mag_r, mag_i, mag_z, mag_y: !skypy.galaxies.spectrum.kcorrect.apparent_magnitudes
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a reason for the re-naming. Historically, the band Y is typed in capital letters. Not that I care much

coefficients: $blue.coeff
filters: $filters
redshift: $blue.z
Expand Down Expand Up @@ -79,7 +79,7 @@ tables:
magnitudes: $red.M
coefficients: $red.coeff
filter: bessell-B
mag_g, mag_r, mag_i, mag_z, mag_Y: !skypy.galaxies.spectrum.kcorrect.apparent_magnitudes
mag_g, mag_r, mag_i, mag_z, mag_y: !skypy.galaxies.spectrum.kcorrect.apparent_magnitudes
coefficients: $red.coeff
filters: $filters
redshift: $red.z
Expand Down
4 changes: 2 additions & 2 deletions data/SkyPy/lsst-like_triple_SF.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ tables:
coefficients: $blue.coeff
magnitudes: $blue.M
filter: bessell-B
mag_g, mag_r, mag_i, mag_z, mag_Y: !skypy.galaxies.spectrum.kcorrect.apparent_magnitudes
mag_g, mag_r, mag_i, mag_z, mag_y: !skypy.galaxies.spectrum.kcorrect.apparent_magnitudes
coefficients: $blue.coeff
redshift: $blue.z
filters: $filters
Expand Down Expand Up @@ -84,7 +84,7 @@ tables:
coefficients: $red.coeff
magnitudes: $red.M
filter: bessell-B
mag_g, mag_r, mag_i, mag_z, mag_Y: !skypy.galaxies.spectrum.kcorrect.apparent_magnitudes
mag_g, mag_r, mag_i, mag_z, mag_y: !skypy.galaxies.spectrum.kcorrect.apparent_magnitudes
coefficients: $red.coeff
redshift: $red.z
filters: $filters
Expand Down
2 changes: 2 additions & 0 deletions slsim/LsstSciencePipeline/opsim_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ def opsim_time_series_images_data(
obs_time,
expo_time,
zero_point_mag,
psf_fwhm,
radec_list,
bandpass,
],
Expand All @@ -140,6 +141,7 @@ def opsim_time_series_images_data(
"obs_time",
"expo_time",
"zero_point",
"psf_fwhm",
"calexp_center",
"band",
),
Expand Down
Loading
Loading