Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
rcooke-ast committed Jul 15, 2023
1 parent 820553a commit 53373b3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 22 deletions.
21 changes: 0 additions & 21 deletions pypeit/spectrographs/keck_hires.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,27 +207,6 @@ def compound_meta(self, headarr, meta_key):
else:
msgs.error("Not ready for this compound meta")


def config_independent_frames(self):
"""
Define frame types that are independent of the fully defined
instrument configuration.
This method returns a dictionary where the keys of the dictionary are
the list of configuration-independent frame types. The value of each
dictionary element can be set to one or more metadata keys that can
be used to assign each frame type to a given configuration group. See
:func:`~pypeit.metadata.PypeItMetaData.set_configurations` and how it
interprets the dictionary values, which can be None.
Returns:
:obj:`dict`: Dictionary where the keys are the frame types that
are configuration-independent and the values are the metadata
keywords that can be used to assign the frames to a configuration
group.
"""
return {'bias': 'binning', 'dark': 'binning'}

def configuration_keys(self):
"""
Return the metadata keys that define a unique instrument
Expand Down
2 changes: 1 addition & 1 deletion pypeit/spectrographs/vlt_xshooter.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def config_independent_frames(self):
keywords that can be used to assign the frames to a configuration
group.
"""
return {'bias': 'arm', 'dark': 'arm'}
return {}

def configuration_keys(self):
"""
Expand Down

0 comments on commit 53373b3

Please sign in to comment.