spacepy.pybats.rim.get_iono_cb

spacepy.pybats.rim.get_iono_cb(ct_name='bwr')[source]

Several custom colorbars used by RIM and AMIE have become standard when visualizing data from these models. These are ‘blue_white_red’ and ‘white_red’, used for data that have positive and negative values and for data that have only positive values, respectively. This function builds and returns these colorbars when called with the initials of the color table name as the only argument.

Other Parameters:
ct_namestr

Select the color table. Can be ‘bwr’ for blue-white-red or ‘wr’ for white-red. Defaults to ‘bwr’.

Examples

>>> bwr_map = get_iono_cb('bwr')
>>> wr_map  = get_iono_cb('wr')