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

Implement covariant kernels #40

Merged
merged 33 commits into from
Jul 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
4e101ea
new covariant kernels implementation
cgarling Jun 28, 2024
7be2b11
add `cov_mult` to `GaussianPSFCovariant`
cgarling Jun 30, 2024
82ac0e9
`kernels_example.jl` fully working
cgarling Jun 30, 2024
64a1972
clear some calls from `mcmc_test.jl`
cgarling Jun 30, 2024
bc99eda
break code out into generic `gaussian_int_general`
cgarling Jul 1, 2024
458f407
Add `@turbo` to `addstar!` for `PixelSpaceKernel`
cgarling Jul 1, 2024
69233c9
replace test isochrone
cgarling Jul 1, 2024
c8abe52
unfold `bin_cmd_smooth` in next pass
cgarling Jul 1, 2024
a777b66
covariant kernel now integrated
cgarling Jul 2, 2024
a98a37b
slight cleanup `simulate.jl`
cgarling Jul 3, 2024
e9ada4a
Increase resolution in `smooth_template.jl`
cgarling Jul 3, 2024
9b4cfde
Add `@turbo` to `addstar!` for `RealSpaceKernel`
cgarling Jul 3, 2024
c62f63b
add new tests into `runtests.jl`
cgarling Jul 3, 2024
ec7f459
`calculate_edges` checks ranges for input `edges`
cgarling Jul 3, 2024
c002a0a
Add adaptive point spacing in `mini_spacing` call
cgarling Jul 3, 2024
ba1a186
also send calculated `edges` directly out
cgarling Jul 3, 2024
97c35b9
turn off interpolation in `imshow` calls
cgarling Jul 3, 2024
4d51820
remove old code
cgarling Jul 3, 2024
b1a4da1
guarantee that the pixel offsets are always `>=1`
cgarling Jul 3, 2024
03f9ad2
move interp option to `plt.rc`
cgarling Jul 3, 2024
3eea482
increase `size` for `GaussianPSFCovariant`
cgarling Jul 3, 2024
def1f57
example alpha
cgarling Jul 3, 2024
585a950
remove global type declarations support julia1.7
cgarling Jul 4, 2024
1bc8875
update `addstar!` step
cgarling Jul 4, 2024
feb8053
Fix `GaussianPSFCovariant`
cgarling Jul 5, 2024
9409d76
add more template tests
cgarling Jul 5, 2024
03731d6
update docs and examples
cgarling Jul 6, 2024
e2a228d
update `fitting1.ipynb` example
cgarling Jul 6, 2024
6679bbe
more docs
cgarling Jul 6, 2024
a745059
remove `cmdpoint.jl`
cgarling Jul 6, 2024
4a009b9
try to add macos and windows to CI with julia v1
cgarling Jul 6, 2024
65fac33
add arch
cgarling Jul 6, 2024
587bc52
fix `template_test.jl`
cgarling Jul 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
7 changes: 7 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ jobs:
- ubuntu-latest
arch:
- x64
include:
- os: macos-latest
arch: x64
version: '1'
- os: windows-latest
arch: x64
version: '1'
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
Expand Down
6 changes: 5 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Roots = "f2b01f46-fcfa-551c-844a-d8ac1e96c665"
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
VectorizationBase = "3d5dd08c-fd9d-11e8-17fa-ed2836048c2f"

[weakdeps]
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
Expand All @@ -33,6 +34,7 @@ DataFramesExt = "DataFrames"

[compat]
DataFrames = "1"
DelimitedFiles = "<0.0.1, 1"
Distributions = "0.25"
Documenter = "1"
DynamicHMC = "3.4.2" # Changed stack_posterior_matrices order https://github.com/tpapp/DynamicHMC.jl/pull/175
Expand All @@ -57,10 +59,12 @@ StaticArrays = "1"
StatsBase = "0.32, 0.33, 0.34"
Test = "<0.0.1, 1"
TypedTables = "1"
VectorizationBase = "0.21"
julia = "1.7"

[extras]
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab"
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
DynamicHMC = "bbc10e6e-7c05-544b-b16e-64fede858acb"
Expand All @@ -76,4 +80,4 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
TypedTables = "9d95f2ec-7b3d-5a63-8d20-e2491e220bb9"

[targets]
test = ["DataFrames", "Distributions", "Documenter", "DynamicHMC", "InitialMassFunctions", "LinearAlgebra", "MCMCChains", "QuadGK", "Random", "SafeTestsets", "StableRNGs", "StaticArrays", "Test", "TypedTables"]
test = ["DataFrames", "DelimitedFiles", "Distributions", "Documenter", "DynamicHMC", "InitialMassFunctions", "LinearAlgebra", "MCMCChains", "QuadGK", "Random", "SafeTestsets", "StableRNGs", "StaticArrays", "Test", "TypedTables"]
Loading