-
-
Notifications
You must be signed in to change notification settings - Fork 481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Substitutions over unit cube faces (Rauzy fractals) #8431
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:3
I add myself in cc because I am interested. |
This comment has been minimized.
This comment has been minimized.
Changed keywords from word morphism to word morphism unit face generalized substitution rauzy fractal |
This comment has been minimized.
This comment has been minimized.
comment:4
Attachment: trac_8431_E1Star.patch.gz |
Changed author from vdelecroix, sstarosta to vdelecroix, tjolivet, sstarosta |
comment:7
I feel like |
comment:8
Cher Timo, Thanks a lot for your recent effort in polishing that code. I am actually needing it rigth now!! It will be of great help to me. I just read through the patch from my web browser and got those comments :
I am going to download, apply and use the patch real soon...and I guess I will have more comments... |
Changed author from vdelecroix, tjolivet, sstarosta to Vincent Delecroix, Timo Jolivet, Stepan Starosta, Franco Saliola |
comment:9
I suggest to add this example for the method
I also suggest to add a
|
comment:10
The method
|
comment:11
The last lines of plot_tikz should be :
Make sure to add the following line in the beginning of the file :
This is to avoid |
comment:12
The function A graph in Sage has methods |
This comment has been minimized.
This comment has been minimized.
Changed author from Vincent Delecroix, Timo Jolivet, Stepan Starosta, Franco Saliola to Vincent Delecroix, Timo Jolivet, Franco Saliola, Stepan Starosta |
small fixes |
comment:36
Attachment: trac_8431-smallfixes-tj.patch.gz Hi, This patch (trac_8431-smallfixes-tj.patch) corrects three bugs and adds three minor features:
Patches need to be applied in this order:
|
comment:37
Replying to tjolivet:
A precision about the
The first line doesn't change anything. The only way to control the aspect ratio of the rendered object in Jmol is to include it into a cube that contains everything, because Jmol will automatically take the smallest 3D rectangle that contains the object, and deform it to a cube (hence changing the aspect ratio). If a cube bounds everything, we get an actual aspect ratio of (1,1,1). The second line was initally written to "turn" the patch so that it faces the viewer when Jmol opens. The problem is that |
Attachment: trac_8431-alphaset-tj.patch.gz |
comment:38
I just added a new patch (trac_8431-alphaset-tj.patch) that applies over the previous ones, and that allows to set the |
comment:39
Hi, Timo ! I tried applying the various patches on a sage-4.6 clone and the patch trac_8431-smallfixes-tj.patch fails. Here's what I get.
Could you please fix it? Or is it because the order is not correct? Here's the output for the rejected hunk:
|
comment:40
Hi ! Well, that's very strange: I just compiled 4.6, made a fresh clone, and I could apply all the patches without any problem:
Could you try it again? There's no reason that it works for me but not for you! (And don't forget the last patch To recap, the order is:
[BTW, a question: when I need to apply such a sequence of patches, do I have to do " |
comment:41
Attachment: trac_new-fixes-final-tj.patch.gz Hi. Sorry, this error message was because of a manipulation error from my part. (I misapplied the wordmorphism-sl patch, and my two last patches were based on this misapplying.) I made a new patch that applies correctly over wordmorphism-sl, and that takes into account my two last patches (which should now be ignored; it's a shame that we can't delete patches from the ticket!). Patches should be applied in this order:
(Sorry for misnaming the last patch, I forgot "8431"... And sorry if this made you lose some time!) |
Attachment: trac_8431_typos-docfix-tj.patch.gz |
comment:42
Thanks for you final remarks. The last patch is trac_8431_typos-docfix-tj.patch, and the sequence is:
|
Apply on top of preceding patches |
comment:43
Attachment: trac_8431_doctest_fix-abm.patch.gz Hi Timo and Sébastien ! I just uploaded a (I hope last) patch that fixes a minor doctest failure (decimal number, on my computer but not Timo's). I tested all of it on sage-4.6. I'm satisfied with the code and the documentation looks good (no warning neither). Before setting this ticket to "positive review", I want to know if Sébastien is ok with it, since he reviewed big parts, and if Timo agrees with my last patch (Timo, just make sure it still passes on your machine). |
comment:44
Yes, the patch applies fine, and the doctest passes. Everything seems to be fine now. Just a recap:
|
comment:45
All test pass on my machine. Coverage is 100%. Documentation builds fine. Positive review! I just folded the 9 patches into one : trac_8431_folded.patch. It might be easier for the release manager. Great work! |
comment:46
|
Folded all the 9 appropriate patches. |
comment:47
Attachment: trac_8431_folded.patch.gz I just re-uploaded the folded patch.
Done.
Done. I did not know the copyright message changed. Needs review. |
comment:48
I just checked that the fixes required by the release manager have indeed been done. All tests still pass. Positive review. |
Merged: sage-4.6.1.alpha2 |
Changed author from Vincent Delecroix, Timo Jolivet, Franco Saliola, Stepan Starosta to Vincent Delecroix, Timo Jolivet, Franco Saliola, Štěpán Starosta |
This patch introduces unit cube faces and substitutions over them, as defined in the article Pisot substitutions and Rauzy fractals by Arnoux and Ito.
Three new classes are defined:
Face
-- models a unit cube facePatch
-- models a finite collection of facesE1Star
-- models the the E_1!^(sigma)* substitution (over faces) defined by a unimodular substitutionsigma
The plotting features enable us draw approximations of Rauzy fractals, or to generate patches of discrete planes.
The dimension of the faces can be of any dimension (and the substitutions work accordingly), but the plotting features work only in dimension three (with three-letter alphabet substitutions).
CC: @sagetrac-sage-combinat @seblabbe @sagetrac-abmasse @sagetrac-tmonteil
Component: combinatorics
Keywords: word morphism unit face generalized substitution rauzy fractal
Author: Vincent Delecroix, Timo Jolivet, Franco Saliola, Štěpán Starosta
Reviewer: Sébastien Labbé, Alexandre Blondin Massé
Merged: sage-4.6.1.alpha2
Issue created by migration from https://trac.sagemath.org/ticket/8431
The text was updated successfully, but these errors were encountered: