PyNOT-redux 2.4.3__tar.gz → 2.4.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/PKG-INFO +1 -1
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/PyNOT_redux.egg-info/PKG-INFO +1 -1
- pynot_redux-2.4.5/pynot/VERSION +1 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/fitsio.py +6 -4
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/response.py +9 -2
- pynot_redux-2.4.3/pynot/VERSION +0 -1
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/.gitattributes +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/.github/dependabot.yml +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/.gitignore +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/LICENSE +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/MANIFEST.in +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/PyNOT_redux.egg-info/SOURCES.txt +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/PyNOT_redux.egg-info/dependency_links.txt +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/PyNOT_redux.egg-info/entry_points.txt +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/PyNOT_redux.egg-info/requires.txt +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/PyNOT_redux.egg-info/top_level.txt +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/README.md +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/.extract_msg +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/.identify_msg +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/.instrument.cfg +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/.response_msg +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/__init__.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/alfosc.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/calib/HeAr_linelist.dat +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/calib/HeNe_linelist.dat +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/calib/ThAr_linelist.dat +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/calib/al-gr18_pixeltable.dat +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/calib/al-gr19_pixeltable.dat +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/calib/al-gr4_pixeltable.dat +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/calib/al-gr7_pixeltable.dat +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/calib/alfosc_filters.dat +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/calib/default_options.yml +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/calib/default_options_img.yml +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/calib/ef-gr13_pixeltable.dat +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/calib/ef-gr14_pixeltable.dat +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/calib/ef-gr1_pixeltable.dat +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/calib/ef-gr3_pixeltable.dat +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/calib/efosc_filters.dat +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/calib/lapalma.ext +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/calib/lasilla.ext +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/calib/paranal.ext +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/calib/std/bd174708.dat +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/calib/std/bd262606.dat +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/calib/std/bd332642.dat +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/calib/std/bd75325.dat +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/calib/std/eg21.dat +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/calib/std/feige110.dat +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/calib/std/feige34.dat +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/calib/std/gd153.dat +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/calib/std/gd50.dat +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/calib/std/gd71.dat +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/calib/std/hd19445.dat +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/calib/std/hd84937.dat +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/calib/std/hd93521.dat +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/calib/std/he3.dat +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/calib/std/hiltner600.dat +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/calib/std/ltt3864.dat +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/calib/std/tcs_namelist.txt +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/calib/std/wolf1346.dat +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/calibs.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/data/__init__.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/data/alfosc.rules +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/data/efosc.rules +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/data/help/welcome_msg_extract.html +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/data/help/welcome_msg_identify.html +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/data/help/welcome_msg_response.html +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/data/io.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/data/obs.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/data/organizer.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/efosc.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/extract_gui.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/extraction.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/functions.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/identify_gui.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/images.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/insconfig.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/logging.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/main.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/operations.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/phot.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/phot_redux.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/redux.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/reports.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/response_gui.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/scired.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/scombine.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/skysub.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/tasks.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/transients.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/txtio.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/viewer/__init__.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/viewer/containers.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/viewer/default_linelists.json +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/viewer/dust.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/viewer/linelists.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/viewer/messages.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/viewer/models.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/viewer/notes.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/viewer/spectrum.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/viewer/tablemodels.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/viewer/targets.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/viewer/templates/Assef_2010.dat +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/viewer/templates/FeII.Vestergaard.dat +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/viewer/templates/FeIII.Vestergaard.dat +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/viewer/templates/Hernan_Caballero_quasar_NIR_template.txt +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/viewer/templates/QSO_selsing.dat +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/viewer/templates/QSO_template.Krawczyk_all.dat +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/viewer/templates/QSO_template.Krawczyk_high.dat +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/viewer/templates/QSO_template.Krawczyk_low.dat +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/viewer/viewer.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/wavecal.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/wcs.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/welcome.py +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/pyproject.toml +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/requirements.txt +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/setup.cfg +0 -0
- {pynot_redux-2.4.3 → pynot_redux-2.4.5}/setup.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.4.5
|
|
@@ -129,10 +129,12 @@ def get_wavelength_from_header(hdr):
|
|
|
129
129
|
|
|
130
130
|
|
|
131
131
|
# -- These names are used to define proper column names for Wavelength, Flux and Error:
|
|
132
|
-
wavelength_column_names = ['wl', 'lam', 'lambda', 'loglam', 'wave', 'wavelength', 'awav']
|
|
133
|
-
flux_column_names = ['data', 'spec', 'flux', 'flam', 'fnu', 'flux_density', 'reduced_flux']
|
|
134
|
-
error_column_names = ['err', 'sig', 'error', 'ivar', 'sigma', 'var', 'err_flux',
|
|
135
|
-
|
|
132
|
+
wavelength_column_names = ['wl', 'lam', 'lambda', 'loglam', 'wave', 'wavelength', 'awav', 'log_wave', 'log_wavelength']
|
|
133
|
+
flux_column_names = ['data', 'spec', 'flux', 'flam', 'fnu', 'flux_density', 'reduced_flux', 'calibrated_flux', 'counts']
|
|
134
|
+
error_column_names = ['err', 'sig', 'error', 'err_ivar', 'ivar', 'sigma', 'var', 'err_flux',
|
|
135
|
+
'flux_ivar', 'flux_var', 'flux_err', 'uncertainty', 'var_flux', 'flux_sig',
|
|
136
|
+
'err_counts', 'counts_err']
|
|
137
|
+
mask_column_names = ['mask', 'qual', 'dq', 'qc', 'qa', 'quality']
|
|
136
138
|
|
|
137
139
|
# -- These names are used to define proper ImageHDU names for Flux and Error:
|
|
138
140
|
flux_HDU_names = ['FLUX', 'SCI', 'FLAM', 'FNU']
|
|
@@ -764,8 +764,15 @@ def task_response(options, database, status, log=None, verbose=True, app=None, o
|
|
|
764
764
|
med_flux_tab = gaussian_filter1d(med_flux_tab, 1)
|
|
765
765
|
noise = mad(flux0 - med_flux_tab)*1.5
|
|
766
766
|
good = np.abs(flux0 - med_flux_tab) < options['response']['kappa']*noise
|
|
767
|
-
#
|
|
768
|
-
#
|
|
767
|
+
# Keep the first and last reference points, as `calculate_response()` does.
|
|
768
|
+
# The criterion above is absolute, while the standard star's count rate varies
|
|
769
|
+
# by a large factor across the spectrum, and `median_filter` runs along the
|
|
770
|
+
# *index* axis of the reference table, whose wavelength sampling becomes very
|
|
771
|
+
# coarse in the far red (the tabulated rows beyond the extracted range are
|
|
772
|
+
# dropped). Without this, the last points are flagged as outliers and the
|
|
773
|
+
# response spline extrapolates past them.
|
|
774
|
+
good[:3] = True
|
|
775
|
+
good[-3:] = True
|
|
769
776
|
|
|
770
777
|
# Load Extinction Table:
|
|
771
778
|
wl_ext, A0 = np.loadtxt(instrument.extinction_fname, unpack=True)
|
pynot_redux-2.4.3/pynot/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.4.3
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/viewer/templates/QSO_template.Krawczyk_all.dat
RENAMED
|
File without changes
|
{pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/viewer/templates/QSO_template.Krawczyk_high.dat
RENAMED
|
File without changes
|
{pynot_redux-2.4.3 → pynot_redux-2.4.5}/pynot/viewer/templates/QSO_template.Krawczyk_low.dat
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|