This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

editor on line
#1
Hi, I am an Italian physics teacher. 
I am learning phyphox to produce lab experiences for high school students. 
I modified by changing only the input (accZ with accY by notepad ++) of one of your experiments (Accelerometer statistics). 
The program works but does not see the multigraph. Did I do something wrong? Or is it a bug in the online editor?
Thank you
Andrew

Code:
<phyphox version="1.6" locale="en">
    <title>Accelerometer Statistics</title>
    <category>Statistics</category>
    <description>
        Check the statistical distribution of the sensor data.

        This experiment simply displays raw y data from the sensor in a histogram, which should form into a Gaussian distribution when the device is resting. Depending on the noise of the sensor you may want to change the binning size.
    </description>
    <icon format="base64">
        iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAABlzSURBVHic7Z15eFRF1sbfJEACyA6C7MoqILusAdkhKgQXcByV0XFckBnccUadGUUddxEdWVxmRmQVUGQHiSYQIBDDEkB2hAhCgAQICVk7/f1R5vNWnerbnfR2u+/5PU+eh3tS3V0d7nvr1KlTpyKc++EEwzBaIoPdAYaxMiwQhjGBBcIwJrBAGMYEFgjDmMACYRgTWCAMYwILhGFMYIEwjAksEIYxgQXCMCawQBjGBBYIw5jAAmEYE1ggDGMCC4RhTGCBMIwJlYLdAeY3Skvdt4mIED9MYGCBWIRdB4But7lv16U9sOtr//eHEbCLxTAmsEAYxgQWCMOYwHMQixAVCdSpKf5dUATkFwS3P4yARxCLcENbIHub+LmwDZjzJtCxdbB7xbBALEh0FeC+McCe5cCq2cCNNwS7R/aFBWJhIiKAmwcCG78AxscFuzf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PoJ+PFo+Va169cBXpks3KoozUlQxSXAgy+ER+3XcCUvXwRNFryr//1dceKc+henA58uMa8yc+i4+Jnxa73gOjWBTm2ANi2Ba5sAzRsDTRsCjRqI39WqIc5X9AVeC6RzvDiI3hfUrgE88QfgiQmuT6A9lw3c9RTw/TbffCbjP9Q6WSr16wCzXgIm3yd2hi5ZR0PFOi7kAJvSxI8r/jkJeOnP5equFq8FEl3F+050bA1MvFuU6FF3DRrZni7824zT3n8mYx06tAIWvSfy7D6aJzwDb9e0fHFfAj4QSEXqr0ZGAt07ADcPBO4Y4TqyUUapU0zY3v9cPJXq19G3q3WVfB0R4bqtETUyBgC1a3r2WjVwUC2mYp9ZKcqz16n7XQCxWu3uaQ0AUUpIpkZ1zz5T3XMeXcWz16n/H+5o3RyY9jfgrWfFPp5vEoA1m/Rlh9yh9rmiRDj3w6vjY0Y8KI4bMKNOTSGCG28Qq+ADe9IUBIZxxaHjIriTshvYsc+zOe3Mf+qP2ysvXo8gLRqLGHedWuKJ0aShWBBq0UREG1o3p5toGKY8tG0pfsoO8ClxiILZRzOAE78AJzNF0bqzWcClXCD7omcjnCd4PYIwTDgT9JV0hrEyLBCGMYEFwjAmsEAYxgQWCMOYwAJhGBNYIAxjAguEYUxggTCMCSwQhjGBBcIwJrBAGMYEFgjDmMACYRgTWCAMYwILhGFM+D+voo1t9uxIBwAAAABJRU5ErkJggg==
    </icon>
    <translations>
        <translation locale="de">
            <title>Statistik des Beschleunigungssensors</title>
            <category>Experimentalphysik I</category>
            <description>
                Prüfe die statistische Verteilung der Sensordaten.

                Dieses Experiment zeigt einfach die Rohdaten der z-Komponente des Beschleunigungssensors in einem Histogramm an. Wenn das Smartphone ruht, sollte sich hier eine Gauß-Verteilung ergeben. Je nach Rauschen des Sensors solltest du die Bin-Größe anpassen.
            </description>
            <string original="Statistics">Statistik</string>
            <string original="z Acceleration">z Beschleunigung</string>
            <string original="z Acceleration (m/s²)">z Beschl. (m/s²)</string>
            <string original="Histogram">Histogramm</string>
            <string original="Bin center (m/s²)">Bin-Mitte (m/s²)</string>
            <string original="Count">Anzahl</string>
            <string original="Bin size">Bin-Größe</string>
            <string original="Average acceleration">Mittlere Beschleunigung</string>
            <string original="Standard deviation">Standardabweichung</string>
        </translation>
    </translations>
    <data-containers>
        <container size="0">accY</container>
        <container size="0">t</container>
        <container size="0">binStart</container>
        <container size="0">binCount</container>
        <container size="1">average</container>
        <container size="1">deviation</container>
        <container size="1">count</container>
        <container size="1">binSize</container>
        <container size="0">temp1</container>
        <container size="0">temp2</container>
        <container size="1">minX</container>
        <container size="1">maxX</container>
        <container size="500">gaussianX</container>
        <container size="500">gaussian</container>
    </data-containers>
    <input>
        <sensor type="accelerometer" rate="0">
            <output component="z">accY</output>
            <output component="t">t</output>
        </sensor>
    </input>
    <views>
        <view label="Statistics">
            <graph label="y Acceleration" labelX="t (s)" labelY="y Acceleration (m/s²)" partialUpdate="true" style="lines">
                <input axis="x">t</input>
                <input axis="y">accY</input>
            </graph>
            <graph label="Histogram" labelX="Acceleration (m/s²)" labelY="Count" partialUpdate="false">
                <input axis="x">gaussianX</input>
                <input axis="y" style="lines" lineWidth="2">gaussian</input>
                <input axis="x">binStart</input>
                <input axis="y" style="vbars" color="E0E040" lineWidth="0.9">binCount</input>
            </graph>
            <edit label="Bin size" unit="m/s²" default="0.005" signed="false">
                <output>binSize</output>
            </edit>
            <value label="Average acceleration" precision="4" scientific="false" unit="m/s²" factor="1">
                <input>average</input>
            </value>
            <value label="Standard deviation" precision="4" scientific="false" unit="m/s²" factor="1">
                <input>deviation</input>
            </value>
            <value label="Count" precision="0" scientific="false" unit="" factor="1">
                <input>count</input>
            </value>
        </view>
    </views>
    <analysis>
        <binning>
            <input clear="false">accY</input>
            <input clear="false" as="dx">binSize</input>
            <output clear="true">binStart</output>
            <output clear="true">binCount</output>
        </binning>
        <average>
            <input clear="false">accY</input>
            <output as="average">average</output>
            <output as="stddev">deviation</output>
        </average>
        <count>
            <input clear="false">accY</input>
            <output>count</output>
        </count>


        <subrange>
            <input as="from" type="value">0</input>
            <input as="length" type="value">1</input>
            <input clear="false">binStart</input>
            <output>minX</output>
        </subrange>
        <append>
            <input clear="false">binStart</input>
            <output>temp1</output>
        </append>
        <add>
            <input>temp1</input>
            <input clear="false">binSize</input>
            <output>maxX</output>
        </add>
        <ramp>
            <input as="start" clear="false">minX</input>
            <input as="stop" clear="false">maxX</input>
            <output>gaussianX</output>
        </ramp>

        <subtract>
            <input clear="false">gaussianX</input>
            <input clear="false">average</input>
            <output>temp1</output>
        </subtract>

        <multiply>
            <input clear="false">temp1</input>
            <input>temp1</input>
            <output>temp2</output>
        </multiply>

        <divide>
            <input>temp2</input>
            <input type="value">-2</input>
            <input clear="false">deviation</input>
            <input clear="false">deviation</input>
            <output>temp1</output>
        </divide>

        <power>
            <input as="base" type="value">2.7182818284</input> <!-- e -->
            <input as="exponent">temp1</input>
            <output>temp2</output>
        </power>

        <divide>
            <input>temp2</input>
            <input type="value">2.506628275</input> <!-- sqrt(2pi) -->
            <input clear="false">deviation</input>
            <output>temp1</output>
        </divide>

        <multiply>
            <input>temp1</input>
            <input clear="false">binSize</input>
            <input clear="false">count</input>
            <output>gaussian</output>
        </multiply>

    </analysis>
    <export>
        <set name="Data">
            <data name="t (s)">t</data>
            <data name="z Acceleration (m/s^2)">accY</data>
        </set>
        <set name="Bins">
            <data name="Bin start (m/s²)">binStart</data>
            <data name="Bin count">binCount</data>
        </set>
    </export>
</phyphox>


Attached Files
.phyphox   Accelerometer-statistics.phyphox (Size: 15.23 KB / Downloads: 205)
Reply
#2
The .phyphox file works as … expected on my iPhone, however, you have apparently missed one change: I suppose you want to read out the y component of the accelerometer, so it needs to be

Code:
-            <output component="z">accZ</output>
+            <output component="y">accY</output>

I have fixed it in the attached file…


Attached Files
.phyphox   Accelerometer-statistics.phyphox (Size: 15.23 KB / Downloads: 206)
Reply
#3
(12-14-2021, 06:20 PM)andrea.colonna Wrote: Or is it a bug in the online editor?

https://phyphox.org/editor/ does not support the full range of https://phyphox.org/wiki/index.php/Phyphox_file_format, this should not be a problem here, though.

Edit: in fact, it is a problem, see below…
Reply
#4
Wow thanks for replying so quickly.
But on my android the problem still exists.
From the program,
<graph label="Histogram" labelX="Acceleration (m/s²)" labelY="Count" partialUpdate="false">
<input axis="x">gaussianX</input>
<input axis="y" style="lines" lineWidth="2">gaussian</input>
<input axis="x">binStart</input>
<input axis="y" style="vbars" color="E0E040" lineWidth="0.9">binCount</input>
</graph>
the second graph should be a yellow diagram with a line graph, but this is not how 2 graphs appear on the display.
Thank you

in fact from a check on the xml generated by the online editor...
<graph editor:uuid="169" editor:posx="3900" editor:posy="500" label="Histogram" aspectRatio="2.5" style="lines" lineWidth="1" color="ff7e22"
partialUpdate="false" history="1" labelX="Acceleration (m/s²)" labelY="Count" labelZ="" unitX="" unitY="" unitZ="" logX="false" logY="false"
logZ="false" xPrecision="3" yPrecision="3" zPrecision="3" scaleMinX="auto" scaleMaxX="auto" scaleMinY="auto" scaleMaxY="auto"
scaleMinZ="auto" scaleMaxZ="auto" minX="0" maxX="0" minY="0" maxY="0" minZ="0" maxZ="0" mapWidth="0" >
<input axis="x">gaussianX</input>
<input axis="y">gaussian</input>
<input axis="x">binStart</input>
<input axis="y">binCount</input>
</graph>
it is different from the written source code.
I don't understand how it was possible to generate the sensor statistics qr code.
https://phyphox.org/wiki/index.php/Sensor_Statistics
Bye
Reply
#5
Hey,

I just tested Jens Version with iOS and Andoird, both are looking good (with the qr code generated by the forum).  


Quote:it is different from the written source code.

I don't understand how it was possible to generate the sensor statistics qr code.


Ah so you took jens phyphox file and opened it with the web editot to get an qr code right?

The problem is the editor does not support all available features. Every feature which is unknown to the editor will be removed. If you would like to get an qr code to a phyphox file without loosing your features you can use some online service like github, dropbox or something like this.

For instance this is a link to the elevator experimente:
Code:
https://raw.githubusercontent.com/phyphox/phyphox-experiments/ad68698d2527ad17b38294ef91bcfabac317e7d3/elevator.phyphox

This direct link to the phyphox file can be copy pasted into some qr code generator like
Code:
https://www.qrcode-generator.de/
Did I miss a way to get an qr code Jens?

Cheers
Reply
#6
The QR code is just a link to a .phyphox file, so you could use any generator. An alternative is https://www.qrcode-monkey.com/, for instance.
Reply
#7
Thanks for everything.
Sorry for my ignorance.
All is ok.
Bye

The edited file works as it should. Calculate g module and the error.
Thanks again.


https://github.com/AndreaColonna/AndreaC...cs.phyphox


Attached Files Thumbnail(s)
   
Reply


Forum Jump: