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

DM-49283: Add script to update LSSTCam transmission curves from lambda-flat normalization. #611

Merged
merged 1 commit into from
Mar 5, 2025

Conversation

erykoff
Copy link
Contributor

@erykoff erykoff commented Mar 3, 2025

No description provided.

# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.

# This script is a record of a one-time run for DM-40164.
Copy link
Contributor

Choose a reason for hiding this comment

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

Typo in ticket number.


parquet_file_corr_factors = os.path.join(
transmission_path,
"qe_corr_factor_bydetnum.parquet",
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't see this file in the PR for obs_lsst_data.

for det_num in det_nums:
det_use, = np.where((data_update["idet"] == det_num) & (data_update["seg"] != "Ave"))
slot = data_update["slot"][det_use[0]]
bay = data_update["bay"][det_use[0]]
Copy link
Contributor

Choose a reason for hiding this comment

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

bay is the same as raft?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes. This is what Aaron had originally provided, and that uses bay instead of raft.

@erykoff erykoff force-pushed the tickets/DM-49283 branch from cfd199f to 7aaf088 Compare March 5, 2025 22:04
@erykoff erykoff force-pushed the tickets/DM-49283 branch from 7aaf088 to bd136d0 Compare March 5, 2025 23:06
@erykoff erykoff merged commit c324445 into main Mar 5, 2025
3 checks passed
@erykoff erykoff deleted the tickets/DM-49283 branch March 5, 2025 23:08
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.

2 participants