Skip to content

Inconsistent quadrupole b1_gradient after issuing cavity phase & quad b1_gradient adjustments #74

@MichaelEhrlichman

Description

@MichaelEhrlichman

pytao_bug_mwe.tar.gz

Example output:

$ ls                                                                                                                
bug.py  bugreport.lat                                                                                                                                                                                   
$ ./bug.py 1                                                                                                        
Issuing commands with tao.cmds and then set uni 1 recalculate.  Bug evident.                                                                                                                            
model b1_gradient:  0.0700389223336539                                                                                                                                                                  
model b1_gradient:  8.17823368208077                                                                                                                                                                    
model b1_gradient:  10.0                                                                                                                                                                                
model b1_gradient:  10.0
$ ./bug.py 2
Issuing commands with tao.cmds and then set glo lattice_calc_on=T.  Bug evident.
model b1_gradient:  0.0700389223336539
model b1_gradient:  8.17823368208077
model b1_gradient:  10.0
model b1_gradient:  10.0
$ ./bug.py 3
Issuing commands with tao.cmds with suppress_lattice_calc=F.  No bug.
model b1_gradient:  0.0700389223336539
model b1_gradient:  10.0
model b1_gradient:  10.0
model b1_gradient:  10.0
$ ./bug.py 4
Issuing commands by iterating tao.cmd.  No bug.
model b1_gradient:  0.0700389223336539
model b1_gradient:  10.0
model b1_gradient:  10.0
model b1_gradient:  10.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions