Coder Social home page Coder Social logo

lucabaldini / ixpeobssim Goto Github PK

View Code? Open in Web Editor NEW
9.0 8.0 11.0 80.22 MB

Simulation and analysis framework for the Imaging X-ray Polarimetry Explorer

License: GNU General Public License v3.0

Makefile 0.02% Python 99.67% C++ 0.21% C 0.03% Batchfile 0.03% Shell 0.04%
astronomy polarimetry python x-ray ixpe

ixpeobssim's People

Contributors

albertomanfreda avatar francescofenu avatar lucabaldini avatar ndilalla avatar s-silvestri avatar simo7588 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ixpeobssim's Issues

Phase for periodic sources and for non periodic sources

[ximpol issue #104]

The phase cannot be assigned at the level of the source, but should be added in a second step, after the simulation is done. In fact all the sources (also the non periodic one) has to have a phase assigned (we don't know in real life which event comes from a particular source. Right now I have changed the old default value (-1) to random.uniform(0,1) for non periodic sources, but this is a quick (and wrong) fix.

Original url: https://bitbucket.org/ixpesw/ixpeobssim/issues/41
Created on 2018-02-01T13:45:14.599843+00:00

Test the chandra2ixpe converter with marx data

Original message from Herman.

There's a Chandra low-fidelity simulator, called marx, that runs fast and has been in use for about 20 yr. Have you tested the IXPE simulator using this sort of input instead of using an actual Chandra data set. One uses marx2fits to make a fits file, which has quite a few fields in it per event, including those in flight data. To use marx output, it would be useful to know which keywords from the FITS header are used along with which columns from the event list.

Original url: https://bitbucket.org/ixpesw/ixpeobssim/issues/18
Created on 2017-09-20T16:40:00.656308+00:00

Issue extrapolating the Interstellar absorption factor

[ximpol issue #135]

In the model we're using the photoelectric cross section is defined between 0.03 and 10 keV. Internally we're using a spline interpolated in linear space and therefore the extrapolation is unreliable.

In turn, the transmission factor for any given column density is only defined between 0.03 and 10 keV, and if we extrapolate the spline beyond the boundaries there's no guarantee that the result is physical (i.e., between 0 and 1).

I suspect this is not an issue in most cases, as there's essentially no events past 10 keV, but definitely something to handle properly.

Original url: https://bitbucket.org/ixpesw/ixpeobssim/issues/30
Created on 2018-02-01T13:36:02.243024+00:00

xInterpolatedBivariateSplineLinear does not check that the input pdf is positive

[ximpol issue #115]

It is not a simple check, since it does involve looking at size(x) * size (y) points, so we may not want to do this each time we instantiate an object of the class. However, it could be useful i.e. for spotting trivial errors in input models.

If we decide to leave the responsibility of providing meaningful input entirely to the user, another possibility would be to develop a test utility which automatically performs a few of these kind of sanity checks on the input models. At the moment, I have no idea of how to implement that.

Original url: https://bitbucket.org/ixpesw/ixpeobssim/issues/39
Created on 2018-02-01T13:43:47.247756+00:00

Remove the PHASE column from the fits output

The PHASE column was originally meant to help producing phasograms for periodic sources, and is set to random values between 0 and 1 for non-period sources. Since in the latter case there is no relationship between the event time and the phase, this creates subtle problems for regions of in interests where we mix multiple periodic and non periodic sources---e.g., the Crab complex.

[Historically, we painfully realizes this while studying the effect of the dead time in the Crab.]

Bottomline: we should get rid of the PHASE column and fold the event lists after the fact with the proper ephemeris when needed.

We should also make sure that we do not break examples by doing this.

Original url: https://bitbucket.org/ixpesw/ixpeobssim/issues/9
Created on 2017-07-26T06:41:23.167675+00:00

Setup a sensible interface to change the number of DETCHANS in the .rmf file

[ximpol issue #159]

At the moment we have to change the numbers by hand in a few places and this is clearly error-prone.

Ideally DETCHANS, TLMIN and TLMAX should be written in the IRFs and every other piece of code should retrieve the information from there. Need to go through the python modules, understand the ramifications of the change and come up with a strategy.

Original url: https://bitbucket.org/ixpesw/ixpeobssim/issues/21
Created on 2018-02-01T13:29:25.178713+00:00

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.