690ab7c997ea068e266230e876293bd4f7e5de9a,libpyEM/qtgui/embrowser.py,,makeOrthoProj,#Any#Any#Any#Any#,111

Before Change


	if highpass>0 : x.process_inplace("filter.highpass.gauss",{"cutoff_freq":1.0/highpass})
	get_application().processEvents()	// keeps the GUI happy

	y=ptcl.process("misc.directional_sum",{"axis":"y","first":ptcl["nx"]/2-layers,"last":ptcl["nx"]/2+layers+1})
	if lowpass>0 : y.process_inplace("filter.lowpass.gauss",{"cutoff_freq":1.0/lowpass})
	if highpass>0 : y.process_inplace("filter.highpass.gauss",{"cutoff_freq":1.0/highpass})
	get_application().processEvents()

After Change


	if highpass>0 : y.process_inplace("filter.highpass.gauss",{"cutoff_freq":1.0/highpass})
	get_application().processEvents()

	z=ptcl.process("misc.directional_sum",{"axis":"z","first":first,"last":last})
	if lowpass>0 : z.process_inplace("filter.lowpass.gauss",{"cutoff_freq":1.0/lowpass})
	if highpass>0 : z.process_inplace("filter.highpass.gauss",{"cutoff_freq":1.0/highpass})

	// different directions sometimes have vastly different standard deviations, independent normalization may help balance
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: cryoem/eman2
Commit Name: 690ab7c997ea068e266230e876293bd4f7e5de9a
Time: 2021-02-06
Author: sludtke42@gmail.com
File Name: libpyEM/qtgui/embrowser.py
Class Name:
Method Name: makeOrthoProj


Project Name: NeuroTechX/moabb
Commit Name: 981d813be0c72b2a18f01340891a065e00d3269e
Time: 2018-02-26
Author: vjayaram@danube.is.localnet
File Name: examples/MotorImagery/two_class_motor_imagery.py
Class Name:
Method Name:


Project Name: reinforceio/tensorforce
Commit Name: cf6d258c003a5a5b5073830e73e4580aeaf71d45
Time: 2017-06-24
Author: aok25@cl.cam.ac.uk
File Name: tensorforce/core/agent.py
Class Name: Agent
Method Name: act


Project Name: sentinel-hub/eo-learn
Commit Name: 5bb91bfefafbf9cc643aa1a3c7c4d8fdfec46e56
Time: 2018-08-08
Author: matej.aleksandrov@sinergise.com
File Name: ml_tools/eolearn/ml_tools/postprocessing.py
Class Name: PostprocessingTask
Method Name: execute