647c7910abda7a89eff45512769bca4889ff3bc9,hyperspy/io_plugins/usid_hdf5.py,,_axes_list_to_dimensions,#,351

Before Change


                // use REAL dimension size rather than what is presented in the
                // axes manager
        dim_list.append(usid.Dimension(dim_name, dim_units,
                                       np.arange(dim.offset,
                                                 dim.offset + dim_size *
                                                 dim.scale,
                                                 dim.scale)))
    if len(dim_list) == 0:
        return usid.Dimension("Arb", "a. u.", 1)
    return dim_list[::-1]

After Change


                dim_units = temp
                // use REAL dimension size rather than what is presented in the
                // axes manager
        ar = np.arange(dim.size) * dim.scale + dim.offset
        dim_list.append(usid.Dimension(dim_name, dim_units, ar))
    if len(dim_list) == 0:
        return usid.Dimension("Arb", "a. u.", 1)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 5

Instances


Project Name: hyperspy/hyperspy
Commit Name: 647c7910abda7a89eff45512769bca4889ff3bc9
Time: 2020-11-05
Author: nielscautaerts@hotmail.com
File Name: hyperspy/io_plugins/usid_hdf5.py
Class Name:
Method Name: _axes_list_to_dimensions


Project Name: librosa/librosa
Commit Name: 2ebc46e0b88697f7b70f3fa71c4afc7e959562a2
Time: 2013-03-23
Author: brm2132@columbia.edu
File Name: librosa/feature.py
Class Name:
Method Name: chromafb


Project Name: PacktPublishing/Deep-Reinforcement-Learning-Hands-On
Commit Name: 373ae159f7ae1cabaf87228d1ae0fb6acd1c6363
Time: 2018-04-29
Author: max.lapan@gmail.com
File Name: ch14/lib/model.py
Class Name: D4PGCritic
Method Name: __init__


Project Name: enthought/chaco
Commit Name: 50202d54ec99758f7624d15b52094be86c326484
Time: 2009-12-13
Author: warren.weckesser@651a555e-23ca-0310-84fe-ca9f7c59d2ea
File Name: enthought/chaco/color_bar.py
Class Name: ColorBar
Method Name: _draw_plot


Project Name: broadinstitute/keras-rcnn
Commit Name: 0f0fa7e5aa9ba084cefb14c4d2bbe12be0bc99c3
Time: 2018-02-27
Author: jyhung@broadinstitute.org
File Name: keras_rcnn/backend/common.py
Class Name:
Method Name: shift