sddsfluxcurve run.twi run.bri -harmonics=3 -electronBeam=current=0.1,coupling=0.01 -undulator=period=0.033,numberOfPeriods=70,kmin=0.01,kmax=2.7,points=100 -pinhole=distance=30,xsize=0.0025,ysize=0.001
sddsfluxcurve [-pipe=[input][,output]] [twissFile] [SDDSoutputfile] [-harmonics=integer] [-method=methodName[,neks=integer]] [-mode=pinhole|density|total] -undulator=period=meters,numberOfPeriods=integer,kmin=value,kmax=value[,points=number] [-electronBeam=current=amps,[,coupling=value | emittanceRatio=value]] [-pinhole=distance=meters,xsize=meters,ysize=meters [,xnumber=integer][,ynumber=integer][,xposition=meters][,yposition=meters]] [-nowarnings]
neks is used to change the number of points used for finding the peak of the distribution.
sddsmatchtwiss