Skip to content
This repository was archived by the owner on Apr 23, 2021. It is now read-only.

Commit dcde9b0

Browse files
committed
Updated gitfit import with v0.1.1
1 parent 940aed8 commit dcde9b0

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

awesimsoss/awesim.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
from bokeh.models import Legend
3434
from contextlib import closing
3535
from hotsoss import utils, plotting, locate_trace
36-
from gitfit import gitfit as gf
36+
from gitfit import reassemble
3737
import urllib.request as request
3838

3939
from . import noise_simulation as ns
@@ -253,9 +253,9 @@ def add_noise(self, c_pink=9.6, u_pink=3.2, bias_amp=5358.87, bias_offset=20944.
253253
tso_ideal = np.sum(orders, axis=0).reshape(self.dims3)
254254

255255
# Fetch reference file data
256-
linearity = gf.reassemble(self.refs['linearity'])[1].data
256+
linearity = reassemble(self.refs['linearity'])[1].data
257257
superbias = fits.getdata(self.refs['superbias'])
258-
dark_current = gf.reassemble(self.refs['dark'])[1].data
258+
dark_current = reassemble(self.refs['dark'])[1].data
259259

260260
# Other quantities
261261
photon_yield = ju.jwst_photyield_ref(self.subarray)

environment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ dependencies:
2626
- bibtexparser==1.2.0
2727
- dustmaps==1.0.4
2828
- hotsoss==0.1.7
29-
- gitfit==0.1.0
29+
- gitfit==0.1.1
3030
- jwst==0.13.8a0.dev37+g1f2237de
3131
- jwst-backgrounds==1.1.1
3232
- lmfit==0.9.13

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ astropy==4.0
1313
jwst==0.16.2
1414
numpy==1.19.2
1515
bokeh==1.3.4
16-
gitfit==0.1.0
16+
gitfit==0.1.1
1717
svo_filters==0.2.19
1818
scipy==1.1.0
1919
astroquery==0.4.1

0 commit comments

Comments
 (0)