Coder Social home page Coder Social logo

chromos's People

Contributors

astrocoding avatar davidgardenier avatar dependabot[bot] avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

chromos's Issues

Extraction of event 62us files fails

Aborts extraction as "Filtering resulted in having no data!". Could perhaps have to do with the bin size (usually 1/128s) that you give as input?

Length of Obsid

One file (20092-01-05-030) has a obsid which is one character longer than all other obsids. Unsure whether any part of the code may trip up due to this.

Runtime calculation

Runtime calculation in logging currently shows full runtime rather than runtime per subscript.

X-ray flares across multiple modes

It seems that sometimes X-ray flares are detected in say event mode files, but not in the binned mode files. This could be because the binned mode files have a different time range (and are usually only in the order of seconds), but could also be because the count rate never gets above 7sigma. Ideally I should check which case is happening, but at the moment none of the binned files pass the power spectra step anyway, so not too concerned.

Response files with ampersand

Response files are occasionally being read in to XSPEC with an ampersand at the end of the file name. I thought I had fixed this earlier in the year, but still occasionally crops up. Perhaps the version of astropy/xspec have changed in the mean time, leading to different behaviour. The quick fix is to (manually) copy the response name (without including the ampersand) into the queried input on which XSPEC stops, and press enter. Means some additional oversight is needed for some objects (unsure when this issue does or doesn't pop up).

Allow for downloading of <obsids>G folders

At the moment I don't download obsids folders with a letter behind them, but in theory folders with a 'G' behind it should work (means _G_appy, so has longer time gaps in the observations).

Return 512 time ranges

If wanting to group power colour ratios in sets other than the arbitrary time ranges of an obsid, you'll need power colour ratios per time units (in this case per 512s would be a good start - you'll not want to go to a lower time-resolution).

Indents should be spaces!

FYI: indents should be spaces, not tabs. Four spaces is standard for one indent level.

Most (fancier) text editors will let you specify that hitting the 'tab' key actually uses 4 spaces, so that you can indent with spaces and still be lazy (by only hitting one key).

Creating responses for observations which straddle epochs

At the moment if an observation falls exactly on the boundary between two epochs, pcarsp won't create a response file, but asks you to rerun it with the '-d' option to shift the observation by a day. I skip these files at the moment, but these should ideally be caught and rerun with the '-d' option.

Cut around PCU changes

Currently the filter files do not cut on basis of PCU changes. Might not even have to implement it, but perhaps plotting will be enough to show PCU changes have taken place. If cutting, remove 32 seconds around the change.

Background creation in pc_ss

Relates to master_project/pc_ss/D_create_background.py, fixed in pc_hid


If using pcabackest to create backgrounds for std2 files - then fullspec should equal 'no'. Although if using pcabackest for other files which also need no gaincorrection, it should be 'yes'.

Correct for the SAA

Simple task of adding a before and after Southern Atlantic Anomaly filter in the maketime filter creation.

Splitting out standard2 files

The output of Phil's xtescan2 provides Standard2 lists, linking to original files. However, the list can change if you run it multiple times, in later runs including .bkg and .std2bkg files. I've quickly dealt with this by taking every third line - but it is only valid if you've run the pipeline multiple times. If you were to run the pipeline only once (over a new data set), you would need every line. The root of the problem lies in finding why and how those 'extra' files are being created. Only related to pc_ss from what I can tell.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.