Comments (2)
Ah right, so what is happening is that all templates get rebinned to a
log-linear wavelength (array size 2^32) to far xcorr. So what you would
need to do is increase the endPower
to a large enough number (I would try
4.2 and go up in 0,1 increments until it works) that the redshift range you
want is captured by the array.
Given the high redshift, it might be useful to increase the arraySize by a
factor of two, to make sure you dont lose precision with lower redshift
templates (however you may not need to do this, I have not tested the
impact of precision, array size and redshift for such high redshift ranges).
Apologies for the hassle getting this to work!
On Fri, May 20, 2016 at 2:19 PM, Simon Conseil [email protected]
wrote:
I have several templates (for LyA, CIII) that Marz refuse to process. It
doesn't show the cross-correlation and the template, though I can still
manually click on the line and then I get the correct z and see the
template.So after diving in the code, I don't understand the second part of
TemplateManager.prototype.shiftTemplate and the relation between the
redshift of the template, z_start, z_end, and the startZIndex/endZIndex you
are computing (and maybe also globalConfig.startPower,
globalConfig.endPower).Let's take an example: I have a LyA template, where:
"start_lambda": 900.0, "end_lambda": 1895.769591008408, "redshift": 0.0, "z_start": 2.7, "z_end": 6.4, "shift": false,
And
globalConfig.startPower = 2.8;
globalConfig.endPower = 4.0;
globalConfig.arraySize = 32768;When I look at shiftTemplate, it computes t.startZIndex = 31900 and t.endZIndex
= null, which seems not good. If I use only these templates, I get many
errors in coalesceResults because the templates .peaks is empty.
Is there some setting somewhere that should be adjusted for highz
templates, or other ideas on what to look at ?—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#135
from marz.
Ah thanks, I tried several things but didn't go far enough for endPower
: with 4.6 it is working ! I also increased arraySize
, thanks for the advice.
Don't apology, your software is really good (particularly with these highz templates now working) ! 👏
It is normal to have a few adaptations to make for different data.
from marz.
Related Issues (20)
- Handle commas in comments HOT 11
- Issue with some templates, z = NaN HOT 2
- Scaling options
- Marz provides no feedback when loading results from previous versions in. HOT 14
- Merging feature request: more clearly label priorities of each redshifter
- Merging feature request: Default to default redshifter redshift
- Merging comments from from other redshifters
- "Previous" shotcut for best fit templates HOT 2
- Key bindings HOT 1
- Redshifting spectra with a redder spectral coverage than the standard OzDES setting HOT 3
- Problem in processing fits file HOT 3
- Give a way to report width of xcorr peak
- Additional templates HOT 9
- Uncertainties from Cross Correlation HOT 1
- Cross correlation peaks inverted for quasars HOT 5
- Redshift limit and adding templates HOT 2
- Precision & Uncertainty of MARZ? HOT 1
- Air or Vacuum? HOT 2
- Vacuum/air wavelengths HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from marz.