Example #1
0
    def test_plot_likelihoods_hist():

        props = \
        cloudpy.load('/d/bip3/ezbc/multicloud/data/python_output/' + \
                     'perseus_lee12_binned_coarseres_props.pickle')

        cloudpy.plot_likelihoods_hist(props=props,
                          filename=\
                             '/usr/users/ezbc/Desktop/likelihoods.png',
                          )
Example #2
0
    def test_plot_likelihoods_hist():

        props = \
        cloudpy.load('/d/bip3/ezbc/multicloud/data/python_output/' + \
                     'perseus_lee12_binned_coarseres_props.pickle')

        cloudpy.plot_likelihoods_hist(props=props,
                          filename=\
                             '/usr/users/ezbc/Desktop/likelihoods.png',
                          )
Example #3
0
            def test_plotting(self):
                #cloud = cloudpy.load(self.cloud_filename)

                #cloud._write_final_params()

                props = \
                    cloudpy.load(\
                        '/d/bip3/ezbc/multicloud/data/props.pickle')

                likelihood_filename = \
                        '/d/bip3/ezbc/perseus/figures/likelihood/' + \
                        'perseus_likelihood_planck_bin_scaled_wd.png'

                cloudpy.plot_likelihoods_hist(props=props,
                                  plot_axes=('widths', 'dgrs'),
                                  show=0,
                                  returnimage=false,
                                  filename=likelihood_filename,
                                  limits=[0, 15, 0.1, 0.2],
                                  )
Example #4
0
            def test_plotting(self):
                #cloud = cloudpy.load(self.cloud_filename)

                #cloud._write_final_params()

                props = \
                    cloudpy.load(\
                        '/d/bip3/ezbc/multicloud/data/props.pickle')

                likelihood_filename = \
                        '/d/bip3/ezbc/perseus/figures/likelihood/' + \
                        'perseus_likelihood_planck_bin_scaled_wd.png'

                cloudpy.plot_likelihoods_hist(
                    props=props,
                    plot_axes=('widths', 'dgrs'),
                    show=0,
                    returnimage=false,
                    filename=likelihood_filename,
                    limits=[0, 15, 0.1, 0.2],
                )
Example #5
0
def plot_likelihoods(cloud_results):

    likelihood_filename_base = \
            cloud_results['figure_dir'] + 'likelihood/' + \
            cloud_results['filename_extension'] + '_likelihood_'

    if 0:
        cloudpy.plot_likelihoods_hist(
            cloud=cloud_results['cloud'],
            filename=likelihood_filename_base + 'wd.png',
        )

    #if 'california' in cloud_results['filename_extension']:
    #limits =

    cloudpy.plot_likelihoods_hist(
        cloud=cloud_results['cloud'],
        props=cloud_results['props'],
        plot_axes=('widths', 'dgrs'),
        show=0,
        returnimage=False,
        filename=likelihood_filename_base + 'wd.png',
        #limits=[0, 100, 0.0, 0.3],
        logscale=False,
    )
    cloudpy.plot_likelihoods_hist(
        cloud=cloud_results['cloud'],
        props=cloud_results['props'],
        plot_axes=('widths', 'intercepts'),
        show=0,
        returnimage=False,
        filename=likelihood_filename_base + 'wi.png',
        #limits=[0, 100, -2, 2],
        logscale=False,
    )

    cloudpy.plot_likelihoods_hist(
        cloud=cloud_results['cloud'],
        props=cloud_results['props'],
        plot_axes=('dgrs', 'intercepts'),
        show=0,
        returnimage=False,
        filename=likelihood_filename_base + 'di.png',
        #limits=[0, 100, -2, 2],
        logscale=False,
    )
Example #6
0
def plot_likelihoods(cloud_results):

    likelihood_filename_base = \
            cloud_results['figure_dir'] + 'likelihood/' + \
            cloud_results['filename_extension'] + '_likelihood_'

    if 0:
        cloudpy.plot_likelihoods_hist(cloud=cloud_results['cloud'],
                          filename=likelihood_filename_base + 'wd.png',
                          )

    #if 'california' in cloud_results['filename_extension']:
        #limits =

    cloudpy.plot_likelihoods_hist(cloud=cloud_results['cloud'],
                      props=cloud_results['props'],
                      plot_axes=('widths', 'dgrs'),
                      show=0,
                      returnimage=False,
                      filename=likelihood_filename_base + 'wd.png',
                      #limits=[0, 100, 0.0, 0.3],
                      logscale=False,
                      )
    cloudpy.plot_likelihoods_hist(cloud=cloud_results['cloud'],
                      props=cloud_results['props'],
                      plot_axes=('widths', 'intercepts'),
                      show=0,
                      returnimage=False,
                      filename=likelihood_filename_base + 'wi.png',
                      #limits=[0, 100, -2, 2],
                      logscale=False,
                      )

    cloudpy.plot_likelihoods_hist(cloud=cloud_results['cloud'],
                      props=cloud_results['props'],
                      plot_axes=('dgrs', 'intercepts'),
                      show=0,
                      returnimage=False,
                      filename=likelihood_filename_base + 'di.png',
                      #limits=[0, 100, -2, 2],
                      logscale=False,
                      )