8 #ifndef INITCOCIRCWEIGHTS_HPP_ 9 #define INITCOCIRCWEIGHTS_HPP_ 11 #include "InitGauss2DWeights.hpp" 17 virtual void ioParam_sigmaCocirc(
enum ParamsIOFlag ioFlag);
18 virtual void ioParam_sigmaKurve(
enum ParamsIOFlag ioFlag);
19 virtual void ioParam_cocircSelf(
enum ParamsIOFlag ioFlag);
20 virtual void ioParam_deltaRadiusCurvature(
enum ParamsIOFlag ioFlag);
28 virtual void calcWeights(
int patchIndex,
int arborId)
override;
32 int initialize(
char const *name,
HyPerCol *hc);
35 float calcKurvePostAndSigmaKurvePost(
int kfPost);
36 float calcKurveAndSigmaKurve(
39 float &sigma_kurve_temp,
43 void initializeDistChordCocircKurvePreAndKurvePost();
44 bool calcDistChordCocircKurvePreNKurvePost(
float xDelta,
float yDelta,
int kfPost,
float thPost);
45 void addToGDist(
float inc);
46 bool checkSameLoc(
int kfPost);
47 void updateCocircNChord(
51 float cocircKurve_shift,
53 bool checkFlags(
float dyP_shift,
float dxP);
54 void updategKurvePreNgKurvePost(
float cocircKurve_shift);
55 float calculateWeight();
56 void cocircCalcWeights(
float *dataStart);
59 float mSigmaCocirc = 0.5f * PI;
60 float mSigmaKurve = 1.0f;
61 float mCocircSelf =
false;
62 float mDeltaRadiusCurvature = 1.0f;
63 float mMinWeight = 0.0f;
64 bool mPosKurveFlag =
false;
65 bool mSaddleFlag =
false;
77 float mSigmaKurvePre2;
78 float mSigmaKurvePost;
79 float mSigmaKurvePost2;
virtual void calcWeights() override
virtual int ioParamsFillGroup(enum ParamsIOFlag ioFlag) override