Comments (2)
Hi Weida!
Happy to hear the tool is still useful after all these years! You're right in that there's a redshift limit. The UI limit comes from the way the cross correlation works, which involves rebinning input spectra onto a log-linear wavelenth grid and then calculating the cross correlations against templates.
You can see the redshift bin limits are defined in this config file: https://github.com/Samreay/Marz/blob/gh-pages/js/config.js#L60C29-L60C29
(Note that the two vaules with "Q" at the end are used for quasar templates, and you'll see their ending wavelength goes to up to 10^4.6 as opposed to the normal specta which go up to 10^4.2.
Increading this value will allow templates to match to higher redshifts. If you increase a lot, you might also want to enable finer rebinning (which means uncommenting line 61 and commenting line 62)
The maximum redshift value in the UI is controlled by this setting: https://github.com/Samreay/Marz/blob/gh-pages/js/services.js#L27
And as many templates as youd like can be added to the list in https://github.com/Samreay/Marz/blob/gh-pages/js/templates.js
Now, I can't make those changes in the default version of marz, as it will change the behaviour for existing users, but hopefully it's a simply process to fork the repository and change things as youd like, especially given GitHub pages is how I host the code to turn it into a webpage, and its free!
from marz.
Hi Sam,
Thanks a lot for the prompt reply and this great code. I will try to modify it and host it on my laptop.
Best,
Weida
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
- Precision & Uncertainty of MARZ? HOT 1
- Air or Vacuum? HOT 2
- Vacuum/air wavelengths HOT 2
- Scrunched labels HOT 1
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.