Opened 13 years ago

Closed 13 years ago

#264 closed question (fixed)

Option to 'mute' output of scan.get_tsys() and Tsys otput in skydip() — at Version 1

Reported by: StacyMader Owned by: Malte Marquarding
Priority: normal Milestone: Unified development
Component: General Version: 2.0
Severity: normal Keywords:
Cc: mad134@…

Description (last modified by Malte Marquarding)

At the moment when one runes utilities such as skydip(), the routine prints Tsys values for each row. In the case of skydip(), one then has to scroll back up and look for the fitted parameters to the fit(s). is it possible to mute output of scan.get_tsys() ?

Change History (1)

comment:1 by Malte Marquarding, 13 years ago

Description: modified (diff)
Resolution: fixed
Status: newclosed

This is fixed in skydip. Let me know if there are anothers. As a tip

from asap import rcParams

rcParams["verbose"] = False
# now I am quiet
rcParams["verbose"] = True

will silence the "logging" output. You can wrap code you want to be silence into this. This flag is automatically set to False if you run from script. . When run under asap (ipython) it is True (fixed separate issue).

Note: See TracTickets for help on using tickets.