# TransmissionCurves for HSC

**URL:** <https://www.rubin.community/t/transmissioncurves-for-hsc/2632>\
**Category:** DM Notifications\
**Tags:** hsc, isr\
**Created:** [January 30, 2018, 11:31pm UTC](https://www.rubin.community/t/transmissioncurves-for-hsc/2632 "2018-01-30T23:31:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbosch](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/jbosch/32/12_2.png) [@jbosch](https://www.rubin.community/u/jbosch)\
**Post date:** [January 30, 2018, 11:31pm UTC](https://www.rubin.community/t/transmissioncurves-for-hsc/2632/1 "2018-01-30T23:31:47Z")

</div>

With the merge of [DM-13389](https://jira.lsstcorp.org/browse/DM-13387), HSC’s ISR will by default load various transmission curve datasets from the input data repository, combine them, and attach them to the `postISRCCD` (and subsequently `calexp`, etc).

For this to work, any raw data repositories with HSC data will need to have those new datasets added to them. For now, this can be done with the new `installTransmissionCurves.py` script now provided with `obs_subaru`. Simply do:

```
setup obs_subaru <some version>
installTransmissionCurves.py /path/to/root/data/repo

```

To run against a data repository without these datasets, you can just disable attaching the TransmissionCurves in ISR:

```
processCcd.py ... -c isr.doAttachTransmissionCurve = False

```

I’d love to get similar functionality working for other cameras, but some work will need to be done to locate and interpret the necessary data. The implementation in `obs_subaru` can probably be used as a template for that, but I’m happy to help with any questions.

---

<div class="post-metadata">

**Author:** ![price](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/price/32/488_2.png) [@price](https://www.rubin.community/u/price)\
**Post date:** [January 30, 2018, 11:35pm UTC](https://www.rubin.community/t/transmissioncurves-for-hsc/2632/2 "2018-01-30T23:35:33Z")

</div>

Thanks to @hsinfang for having [installed the transmission curves for us on the LSST cluster](https://jira.lsstcorp.org/browse/DM-13387) already!

---

<div class="post-metadata">

**Author:** ![parejkoj](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/parejkoj/32/138_2.png) [@parejkoj](https://www.rubin.community/u/parejkoj)\
**Post date:** [January 31, 2018, 12:12am UTC](https://www.rubin.community/t/transmissioncurves-for-hsc/2632/3 "2018-01-31T00:12:44Z")

</div>

Has anyone done this for `validation_data_hsc` yet?

And I’m assuming nothing needed to be changed in testdata\_subaru?

---

<div class="post-metadata">

**Author:** ![price](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/price/32/488_2.png) [@price](https://www.rubin.community/u/price)\
**Post date:** [January 31, 2018, 12:16am UTC](https://www.rubin.community/t/transmissioncurves-for-hsc/2632/4 "2018-01-31T00:16:03Z")

</div>

I don’t believe `validation_data_hsc` has been modified (at least, not by @jbosch or me), and no changes are required to `testdata_subaru`.
