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

Ultranest sampler interface #21

Open
wants to merge 60 commits into
base: main
Choose a base branch
from
Open

Ultranest sampler interface #21

wants to merge 60 commits into from

Conversation

sweverett
Copy link
Owner

See #20

@sweverett sweverett added the enhancement New feature or request label Oct 13, 2022
@sweverett sweverett self-assigned this Oct 13, 2022
sweverett and others added 17 commits October 12, 2022 18:24
* first (very buggy) implementation of PSF convolution on the basis functions

* first pass at PSF handling for basis function imaps

* BUGGED: update to psf convolution of basis functions

* added new PSF passing to test muse script

* started simulations object for creating data from TNG

* added remote query and first elements of code to calculate spectra from TNG sim

* further updates to TNG simulation object

* further revisions to simulations.py

* updating tngsim.py

* added detail to constructor

* reorganized tngsim to allow synchronized re-setting of subhalo identity

* rough intermediate update in developing tngsim.py

* added unit test script

* restructured `CubePars` optional fields for wavelength list & shape

* Implemented the `to_cube()` and `from_cube()` methods

* Fixed `from_cube()` to actually return the new cube!

* further updates including better file cacheing

* Added a `set_data()` method to `DataCubr`; moved `DataVector` to new file

* got rid of debugs

* first working datacube, with plots

* BUGFIX: moved `set_data()` to the right class

* added plotting of final results

* fix typo in velocity calculation

* fixed bug in velocity calculation spotted by Jiachuan

* some plotting improvements

* now requesting only star and gas particle data

* removed unneeded set_trace

* fixed f-string bug

* Fixed bug in creating bandpass dicttionary

* made emission-line redshift in muse.py a scalar

* To Do: test method for generating slit spectrum

* added no pixel method when drawing convolved image slice

* added subhhalo information to truth field in cubepars

* Removed Pranja's set_trace

* Removed Pranja's set_trace

* updated cosmology

* bug fix: the emission line table has wrong unit

* bug fix: the  is observer-frame wavelength range. During 3d cube emission photons partition, it is wrongly treated as rest-frame wavelength grid.

* reverted to scipy1d interpolator

* cleanup for final merge w/ `main`

* final minor updates for merge w/ `main`

* minor typo fix

Co-authored-by: Spencer Everett <[email protected]>
Co-authored-by: JiachuanXu <[email protected]>
Co-authored-by: pranjalrs <[email protected]>
@sweverett sweverett mentioned this pull request Jan 27, 2024
sweverett and others added 30 commits January 27, 2024 13:29
…es automated conversions between different orientations (`cartesian`, `sky`, `east-of-north`) on top of `Astropy.Angle`. Added a corresponding test file
…ltranest` state before intended merge w/ `tng_grism`
…. Added rotation curve plotting to vmaps. NOTE: This introduces a lot of small bugs in how the vmap `__call__` method is used throughout the repo, and will need to be fixed before a merge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants