Purpose to extract campaign data measure in XML or PNG file.
Arguments : |
|
---|
exemple
>>> id_campaign = 2
>>> fichier = 'essai_extract'
ex = Extract(id_campaign,fichier)
ex.toXML()
ex.toPNG()
The function ‘toXML’ to extract information from the BDD in a PNG file
Arguments optionels: | |
---|---|
|
|
Returns: | . png file created on the current directory |
Arguments : |
|
---|---|
Couleurs : |
|
Returns: | Tuple as (reg, green, blue) |
To find the amplitude was applied to a extract.PNG () to one or more campaign!
Can be extracted into a PNG, the results of a set of campaign
Arguments : |
|
---|
exemple
>>> liste_id_campagne = [1,2,3,4]
>>> file = 'essai_extract'
dessinBatiment(liste_id_campagne,fichier, 100)
Generates the surface corresponding to the caption of a drawing
Arguments : |
|
---|
exemple
>>> amplitude = FindAmplitude(numerodecampagne).get()
>>> leg = Legende([('Batiment','Maison'),('Pièce','Chambre'),('Campagne','Première'),('Date','17/11/85')],amplitudetest[0], amplitudetest[1], 2100).get()
extract(numerodecampagne,'testaveclegende').toPNG(100)