GuiderOutdir

Bases: KPFFunction

Print the value of the kpfguide.OUTDIR keyword to STDOUT

KTL Keywords Used:

  • kpfguide.OUTDIR
Source code in kpf/guider/GuiderOutdir.py
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
class GuiderOutdir(KPFFunction):
    '''Print the value of the kpfguide.OUTDIR keyword to STDOUT

    KTL Keywords Used:

    - `kpfguide.OUTDIR`
    '''
    @classmethod
    def pre_condition(cls, args):
        pass

    @classmethod
    def perform(cls, args):
        OUTDIR = ktl.cache('kpfguide', 'OUTDIR')
        return OUTDIR.read()

    @classmethod
    def post_condition(cls, args):
        pass