Skip to content

Add slitless spectroscopic features#34

Closed
arunkannawadi wants to merge 34 commits into
mainfrom
prism
Closed

Add slitless spectroscopic features#34
arunkannawadi wants to merge 34 commits into
mainfrom
prism

Conversation

@arunkannawadi
Copy link
Copy Markdown
Member

@arunkannawadi arunkannawadi commented May 14, 2025

This needs some removal of hacks and versioning of skyCatalogs before it's deemed fully supported.

@arunkannawadi arunkannawadi marked this pull request as ready for review May 14, 2025 19:20
@arunkannawadi arunkannawadi marked this pull request as draft May 14, 2025 19:20
Comment thread roman_imsim/obseq.py Outdated
if ob['filter'] == "H158":
self.ob['filter'] = "SNPrism"
else:
self.ob['filter'] = ob['filter']
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

If I recall correctly, there is no observing sequence information on the non-imaging bands. If we need to pretend some other band/flux from that band to be the one for prism bands, we need a better solution.

Comment thread roman_imsim/photonOps.py Outdated
return SlitlessSpec(**kwargs)

RegisterPhotonOpType('SlitlessSpec', SlitlessSpecBuilder())

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Jyotika Roychowdhury and others added 14 commits August 20, 2025 11:40
He did three things:
1. got the code to work equally well for prism or grism
2. included a new method to compute the dispersion (ie. dlam/dr, where dr is the path along the trace)cleaned up a few things regarding how they do intermediate trsnforms for the wavelength.  Long story, but tl;dr is they use dy = polynomial(log10(lambda))
3. generalized a bit the function log10() so that we can use different transformations.
@arunkannawadi
Copy link
Copy Markdown
Member Author

superceded by #73 . Closing this, but keeping the branch alive for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants