Computing the Newton polytope of the discriminant from the fiber polytope. Period integrals from wall structures via tropical cycles, canonical coordinates in mirror symmetry and analyticity of toric degenerations 