UNDERSTANDING ALIASING AND SAMPLING USING PYTHON

~Bakyalakshmi

Sampling theorem:

fs≥2fm

  • A continuous time signal can be represented as samples and can be recovered back when sampling frequency fis greater than or equal to twice the highest frequency component of message signal.
  • If this condition does not satisfy, it leads to aliasing.
  • Aliasing is an effect   that causes different signals to become indistinguishable when sampled.

Visualizing using python:

import matplotlib.pyplot as plt #  to plot

import numpy as np

#numerical python to get array of float values and for sine operation

t = np.arange(0, 2e-3, 10e-6) # x axis time period

# sampling at fs =10kHz in time domain ts=1/fs (0.1ms)

ts = np.arange(0,2e-3,0.1e-3)

f = 1000 # message signal fm

b = np.sin(2*np.pi*f*t) #phase for sinewave

c = np.sin(2*np.pi*f*ts)

plt.plot(t,b,”g”) # plot of message signal (1kHz)

plt.plot(ts,c,”k*”) # plot of sampled message signal (1kHz)

fs>=2fm:      Input frequency= 1kHz          sampling frequency = 10kHz

f=9000

b = -np.sin(2*np.pi*f*t)

c = -np.sin(2*np.pi*f*ts)

plt.plot(t,b) # plot of message signal (9kHz)

plt.plot(ts,c,’r+’)  # plot of sampled message signal (9kHz)

fs<2fm:      Input frequency = 9kHz        sampling frequency = 10kHz

Sampled output of 1kHz and 9kHz :

Aliasing of 1kHz and 9kHz

part1: https://youtu.be/og-Pn2oOqP4

How to build 3-D Flexagon

~Saranya

1. Take a printed sheet shown in the below 
2. Mark numbers in each row so that we won’t miss the order. Follow the below image


3. Marked 1 as the 1st row 2nd as the 2nd row 3rd as the 3rd row and finally 4th as the 4th
row.
4. Cut shape that printed out in the paper(wherever it has bend you have to bend it).
Finally, you should get only that shape of the sheet there shouldn’t be any excess paper.
5. Take empty ballpoint pen to draw the all the diagonal to fold it easily(just draw a line on
top of the all the diagonal)
6. Draw what you want to convey for example(sample image shown in the below):

7. Wherever it says glue apply the glue and fold it.

8. Here is the link for how it works. https://youtu.be/x4aqoaT5zGw

Relief work with migrant laborers

During this lock-down period, the migrant laborers struggled a lot for food and shelter. At STEM land we had an opportunity to work with an NGO called Coast India for helping migrant people. Ten of us volunteered for this NGO. The NGO had collected a database from the state government on migrant laborers who had earlier called in for help and put this information in an app. Our responsibility was to call the concerned people and verify the data and update their current specific requirements of migrant laborers. We spent about 2hrs per day for about a month. We worked with the migrants who were from Jharkhand in Tamil Nadu.

We called around 600 contacts and through them we reached nearly 2000 others. It was a difficult task for us to communicate since most of us do not know Hindi and most migrants could communicate with limited Tamil, but we still managed to understand and help them get food , shelter and transportation to get home by working in tandem with the NGOs on the ground in their areas.

Initially the government had promised that with updated data the migrants will have money transferred to their accounts. However, this did not happen and many of them were frustrated when they didn’t get the support committed by their government and additionally the situation at hand was also hard. The calls were hard to take as they were emotional and it even affected some of us as we were expected to continue to follow up for updated information. Nonetheless, our team members consoled them and helped them by sending many emails to the NGOs for follow up. All this struggle and emotional stress was wiped away when many of the migrant people sent us messages that they have safely reached home or got the rations they needed. We would like to thank Coast India NGO for creating this opportunity to help in relief for those who were stranded during the Carona.

Some insights

Working on COVID-19 relief work with Bindu and team was one such experience which made me realize one of the most pressing issues in our society – migrant workers. This issue was invisible to many of us till we got the intensity of it – the number of migrants, many unregistered, working in most hostile conditions thousands of kilometres from their homes, away from family.

As Bindu planned, we were given contact details and basic data from initial calls (mostly state government call centres). We had to reach out to the people on our list and get the latest status regarding their food, stay, health and any other essential things. There were mainly two phases:

1) initial phase when our migrant friends were having difficulties getting food, dry ration etc. Though we used to take note of their needs, many times it wasn’t possible to reach out to them with the help considering strict lockdown and resources at hand, both financial and human. Bindu was working hard to manage the ration/food for those who are in urgent needs, even with the scarce resources at hand.

2) In the second phase, there was a shift from getting food to getting transportation to their home states. This was the time when I realized that though many don’t have enough food to twice a day, they were not asking for it but for transportation.

Many times, it happened that they were frustrated by filling up different forms of the two states, with changed rules over every week. I experienced that through phone calls but wasn’t able to do anything about their travel. Eventually some of them started walking to their home with no hope of governments and administration managing their travel.

In all this chaos and helpless situation, I just started to listen to them. Some of them couldn’t control their tears, some just having hopes in their eyes. Some just needed to know the status of travel, and some of them were hopeful that someone is at least listening to what they are facing. Though I couldn’t contact all the people from cases assigned to me, I had contacted many of other migrants and could share some important updates with them as my number was being circulated by many of them among their other friends.

I couldn’t work from the last two weeks on this issue as it was very time consuming (I used to get calls all day) and I had other responsibilities. I still feel I could at least help some of them if not as many as I would have liked.

It moved me to see these many friends of ours have to go through these difficult times but there are people like Bindu who are working tirelessly to help them. Glad to be part of this initiative.

– Ganesh Shelke

When I called them, I came to know most of them are facing problems with food, shelter and many have to go back to Jharkhand. Hearing their problems and helping them to go back to their hometown gives me satisfaction. Thanks for giving me this opportunity.

– Sharat Kumar.N

I felt connected when I talked to people. Language was an issue for me. I was not able to speak in Hindi and was not able to reach people easily. They were asking for support and used so many “please” it was hard for me at that time to listen to their queries. Some of them were physically not well, didn’t get ration items, had to pay rent, wanted to go home and so on. Most of the time I had this question within me that, is what I do really useful and does it reach the one in need. I had this question when many of them said that it has been 20 days since I have requested, but still we didn’t receive anything. But I processed it within myself and took it as an opportunity of my growth and others.

-Poovizhi

I feel content and happy that I was able to support others during their difficult situation. It was great that their government (Jarkhand) took so much effort to give their support to the migrant people through this NGO (coast India) and Jarkhand Sahayta App. When people informed me that they received support from NGOs I was very happy. When some people did not receive any help at that time, we sent an email to NGO people to give support to the migrant people. The NGO people took an effort and gave their support to the migrant people. It was a great and new experience

– Saranya

Initially I had a willingness to help people, so I called them and asked about their needs, and I was happy by doing this. For two weeks, I was supporting people by registering their basic needs in our portal and bringing some urgent issues to the team. But after two weeks most people asked me to help them to reach their hometown.

I shared the information both in Hindi and English regarding special trains and e-pass. Later I realized that I was creating expectations in people’s mind that they can travel to their hometown when the government allowed only one or two trains. So, I stopped calling new cases, and only supported the old cases which have been assigned to me.

-Ranjith

Even though I have been very busy in my work, I separately allocated time for calling migrants. When I was calling them, they were at the stage of losing hope, my words consoled them. I felt very happy. Working with the unknown people was new for me and I hope I have given my best.

-Vasantharaj gandhi

It was a different and challenging experience, because of the language which plays a medium for communication. I did this for my inner satisfaction. But because of some other works and self-development activities, I was not able to continue further. I appreciate and acknowledge all the others who did this service for a good cause.

-Vasanth

 

Train the trainers – Interaction with Delhi Government Mentors

~Ganesh, Poovizhi, Saranya

Delhi Government Mentor teachers wished to visit Auroville to learn about the initiatives and steps that Auroville has taken in the field of education.

Mentor teachers is a core group of teachers looking for the academic quality and improvement of Delhi Government schools. As a part of capacity building  tour, mentors visited Pondicherry and surrounding areas to learn about alternate pedagogies in teaching and learning.
Due to government mandate of not having large gatherings  the group couldn’t visit STEM land schools but they were enthusiastic enough to learn more about STEM land, leadership capacity and stewardship qualities. We met them in Pondicherry where the group learnt about the activities we do in STEM land. They asked about preparing project material and learnt how students create projects in STEM land. We showed them different projects created by students on software like Scratch, Alice etc. They were also keen to know how to motivate teachers to adapt these pedagogies and how to balance both theoretical and practical learning.

Buzzer and LED c connection using Switch

Children  in Deepanum have been learning simple electronics once in a week . They have been learning it for almost 1 and half month. There are about 15 to 20 children. In this one child  doesn’t  show interest and he would do some thing else but he wont disturb the class. All the other children work together and does something interesting. Last class we were building a circuit with switch, battery, LED and resistor. I drew the circuit diagram in the black board and asked the children to connect . All the children were able to complete the circuit on their own phase. This boy got inspired and he also started to engage in the class . He built his own circuit and  without bread board. As a teacher when I asked him to use bread board he didn’t listen to me. At that time i still my self and noticed that if in ask him to use bread board he would not do it  and the learning will stop  at that moment itself so I let him on his way and he was able to complete his circuit .  The session was so good that I realized that children are able to build the circuit on their own. I also realized that my contribution to this children growth is valuable.

Basic Skill Programming

~Saranya

I learnt to create list, append,add and function notation

Make list using single quote .

Example:  

‘(10 20 30 40)  => (10 20 30 40)

Adding an element in the front of the list using cons:

Example:

name='(1 2 3)      =>  (1 2 3)

cons(7 name)    =>(7 1 2 3)

Merging two list using append:

Example:

firstList=(‘1 2 3)                        =>(1 2 3)

secondList='(4 5 6)              =>(4 5 6)

total=append(firstList secondList)       =>(1 2 3 4 5 6)

 

 

 

 

Archana Shekar’s experience in STEM land

Archana Shekar who conducts ten days residential Vipassana retreats, children’s meditation courses and is in charge of it for Karnataka state. After completing her Masters at IITKGB and MBA at XLRI she worked with Price Waterhouse, Synovate and also wrote for Hong Kong based “Asian Business”. She prefers to work on inner development, Yoga and therapies,  Spirituality and Integral yoga.

She volunteered with STEM land and supported children in Isai Ambalam school on their English. Here is a short video of her experience in STEM land with Sanjeev Ranganathan.

 

SSD session with Arulvazhi school children

~Hari,Murali,Sarath

With the visit of Arulvazhi school students me and sharat have also joined them in learning SSD (seven segment display). Initially we just learnt about SSD and its primary uses. Arun and Murali explained elaborately about SSD and they showed a demo. With that reference children tried to work with it. me and Sharat just tried my name getting displayed with the use of SSD and finally got it perfectly.

 

Paper Glider

Murali, Arun, Madhavan

We made paper gliders with Ravi Aluganti on 29th Feb. It was easy to make and fun making them. In the end, we made a bigger one along with the children and made it fly.  Here’s a video of it.

The video also has wing model of an airplane with paper. We did this to understand the physics between the wind and the shape of the wings.

 

Electronics Session – LDR + Arduino – Street Light Concept

~Vimal , Jenifa & Abilash

As a part of the “People Counter Project”, the children were given hands on learning about the LDR(light dependent resistor) and the interfacing of the same wit the arduino platform. children built the circuit, wrote the program with support and understood the concept LDR , differentiation of analog and digital values, serial communication between arduino and pc. They visualized the value of the ldr on the serial monitor tool. Further a task was given to them to build the concept of automatic street light, with little help from us they understood and wrote the code and demonstrated it. Also threshold concept was explained to them and asked to write a code for switching on two leds based on the threshold limit of the sensed value of the LDR connected to the arduino. They did that also.