# Help with data challenge1

**URL:** <https://ask.igwn.org/t/help-with-data-challenge1/335>\
**Category:** Data Analysis\
**Tags:** odw-2022\
**Created:** [May 30, 2022, 1:10pm UTC](https://ask.igwn.org/t/help-with-data-challenge1/335 "2022-05-30T13:10:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ran97](https://avatars.discourse-cdn.com/v4/letter/r/d07c76/32.png) [@Ran97](https://ask.igwn.org/u/Ran97)\
**Post date:** [May 30, 2022, 1:10pm UTC](https://ask.igwn.org/t/help-with-data-challenge1/335/1 "2022-05-30T13:10:57Z")

</div>

Hi I am new to python, I tried coding for time domain plot and Q transform in data challenge 1 but could not get it. please help.

---

<div class="post-metadata">

**Author:** ![martinberoiz](https://yyz1.discourse-cdn.com/flex031/user_avatar/ask.igwn.org/martinberoiz/32/11_2.png) [@martinberoiz](https://ask.igwn.org/u/martinberoiz)\
**Post date:** [May 30, 2022, 4:27pm UTC](https://ask.igwn.org/t/help-with-data-challenge1/335/2 "2022-05-30T16:27:17Z")

</div>

Hi Ranjini,

Can you post what you have done so far and the errors (entire backtrace) if you got any? Where are you stuck?

---

<div class="post-metadata">

**Author:** ![Ran97](https://avatars.discourse-cdn.com/v4/letter/r/d07c76/32.png) [@Ran97](https://ask.igwn.org/u/Ran97)\
**Post date:** [May 31, 2022, 7:17am UTC](https://ask.igwn.org/t/help-with-data-challenge1/335/3 "2022-05-31T07:17:26Z")

</div>

![image](https://canada1.discourse-cdn.com/flex031/uploads/gwosc/original/1X/dfca07af4402ecd60d03bb633b2f31390134971f.png)

---

<div class="post-metadata">

**Author:** ![Ran97](https://avatars.discourse-cdn.com/v4/letter/r/d07c76/32.png) [@Ran97](https://ask.igwn.org/u/Ran97)\
**Post date:** [May 31, 2022, 7:38am UTC](https://ask.igwn.org/t/help-with-data-challenge1/335/4 "2022-05-31T07:38:30Z")

</div>

could you please let me know how to get GPS for the data in challenge1.gwf file?

---

<div class="post-metadata">

**Author:** ![jonah](https://yyz1.discourse-cdn.com/flex031/user_avatar/ask.igwn.org/jonah/32/10_2.png) [@jonah](https://ask.igwn.org/u/jonah)\
**Post date:** [June 1, 2022, 8:54pm UTC](https://ask.igwn.org/t/help-with-data-challenge1/335/5 "2022-06-01T20:54:35Z")

</div>

@Ran97 An example showing how to read in the data is in the Challenge description. Here, it works better to use the `read` command instead of `get`, since you want to read directly from a file.

```auto
# -- for gwpy 
from gwpy.timeseries import TimeSeries
gwpy_strain = TimeSeries.read('challenge3.gwf', channel="H1:CHALLENGE3")

```

---

<div class="post-metadata">

**Author:** ![jonah](https://yyz1.discourse-cdn.com/flex031/user_avatar/ask.igwn.org/jonah/32/10_2.png) [@jonah](https://ask.igwn.org/u/jonah)\
**Post date:** [June 1, 2022, 8:55pm UTC](https://ask.igwn.org/t/help-with-data-challenge1/335/6 "2022-06-01T20:55:03Z")

</div>

@Ran97 For challenge 1, the data are centered on time = 0.
