# Input of optical properties

**URL:** <https://geant4-forum.web.cern.ch/t/input-of-optical-properties/4304>\
**Category:** Geometry, Fields and Transportation\
**Created:** [January 17, 2021, 1:52am UTC](https://geant4-forum.web.cern.ch/t/input-of-optical-properties/4304 "2021-01-17T01:52:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mac](https://geant4-forum.web.cern.ch/user_avatar/geant4-forum.web.cern.ch/mac/32/844_2.png) [@mac](https://geant4-forum.web.cern.ch/u/mac)\
**Post date:** [January 17, 2021, 1:52am UTC](https://geant4-forum.web.cern.ch/t/input-of-optical-properties/4304/1 "2021-01-17T01:52:57Z")

</div>

Is the order of the input of the refractive index and the absorption length important? I.e., do they need to be put in with increasing energy or does an input with decreasing energy also work ?

---

<div class="post-metadata">

**Author:** ![dsawkey](https://geant4-forum.web.cern.ch/user_avatar/geant4-forum.web.cern.ch/dsawkey/32/4016_2.png) [@dsawkey](https://geant4-forum.web.cern.ch/u/dsawkey)\
**Post date:** [January 20, 2021, 11:18am UTC](https://geant4-forum.web.cern.ch/t/input-of-optical-properties/4304/2 "2021-01-20T11:18:10Z")

</div>

I don’t know. The code doesn’t look like it assumes any ordering, but I’ve never tried to add values not in order of increasing energy. Try it and let us know.
