Wiki: In signal processing, white noise is a random signal having equal intensity at different frequencies, giving it a constant power spectral density.
Questions tagged [whitenoise]
125 questions
0
votes
2 answers
Unable to plot White Noise graph
I am a beginner, and have written the following code:
wn=np.random.normal(loc=raw_data.Quantity.mean(), scale=raw_data.Quantity.std(), size=len(training_data))
training_data['wn']=wn
training_data.wn.plot(figsize=(20,5),…

Ruchir Saxena
- 29
- 5
0
votes
0 answers
Whitenoise collectstatic failing on none existent file
I seem to be getting an issue with serving running collectstatic when whitenoise is enabled. I keep getting an error about a missing file - not quite sure why.
Here is the fill traceback
Post-processing…

Emm
- 2,367
- 3
- 24
- 50
0
votes
1 answer
404 when GETing from STATIC_URL does not call GET on my fallback View
In my settings.py, I have STATIC_URL='/static/'
I have a view which I use as a fallback for the static url
class MyView(View):
def get(request):
return XXX
which I add it to my urls like so
urlpatterns += [url(r'^/static/',…

wonton
- 7,568
- 9
- 56
- 93
0
votes
1 answer
Error 500 when Debug off on both local and Heroku with Whitenoise
I'm having alot of trouble either understanding how to properly host my static files on both local and heroku. Currently when Debug is turned off, I get an error 500- otherwise it works fine.
I've read quite a few SO posts but so far, no solution…

mg2019
- 191
- 17
0
votes
0 answers
Django debug False prevents access to files saved in media folder
I have a model that takes a File Field which is uploaded in Django admin. I noticed that the files save in the proper folder. But when Debug is set to False, I cannot access the file from the admin area or from the front end user interface. I get an…

Erin B.
- 165
- 3
- 15
0
votes
1 answer
Is there a python function for seeded white noise?
I have been working on some python terrain generation software, and have been wanting to generate cave systems. I need a seeded white noise function/module that works over an infinite terrain, and accepts floating point number inputs.
I found out…

Jack Larson
- 13
- 4
0
votes
0 answers
Django findstatic: "No matching file found" but the file is there
On a Django 1.11 app deployed to Heroku. The Django management command findstatic is saying that it cannot find a file angular.min.js even though the file appears to be in a folder findstatic is checking.
$ heroku run python manage.py findstatic…

jchung
- 903
- 1
- 11
- 23
0
votes
1 answer
How to add random white noise to data
Suppose I have a column of data whose value ranges from -1.23 to +2.56. What I want is to add 10% random white noise to my data. I'm not sure how to do it in python; please help me with the code.
user11938714
0
votes
1 answer
Generate White noise (normal distribution with null mean and unitary variance)
I'm trying to generate white noise for dataset 100 rows x 3 columns, built through Cholesky Factorization; the dataset is a Gaussian multivariate distribution with parameter 0 and Sigma (cov. matrix) as it follows:
[1.0, 0.4, 0.5]
[0.4, 1.0,…

JackLametta
- 400
- 1
- 2
- 21
0
votes
2 answers
Django
not working but the static file is accessible via url
I'm trying to put an image in the html code, using:
but the image isn't displayed.
On the other hand, I can access the image going to…

Julián Corso
- 3
- 1
0
votes
0 answers
Ignore SuspiciousFileOperation in Django
I am serving my vuejs SPA in django at /app/
Serving static files at /static/
My app is working fine served in django development, but, collectstatic fails.
My vue.config.js has:
module.exports = {
assetsDir: 'static',
}
Compiled CSS files have…

echefede
- 497
- 4
- 13
0
votes
1 answer
How to fix "server error(500)" of Heroku caused by setting DEBUG to False in Django?
I know this issue has been discussed a thousand times here, but I couldn't stop putting it again as I'd a difficult time finding the cause of this problem and a working solution.So, my problem is when I set DEBUG=True on heroku, everything works,…

user10058776
- 183
- 1
- 3
- 17
0
votes
2 answers
nginx not returning Cache-Control header from upstream gunicorn
I'm using WhiteNoise to serve static files from a Django app running under gunicorn. For some reason, the Cache-Control and Access-Control-Allow-Origin headers returned by the gunicorn backend are not being passed back to the client through the…

Will Harris
- 187
- 11
0
votes
1 answer
is django compressor default on django install?
Is django compressor default on django install?
I have been having an issue with whitenoise and django. I keep getting this error:
ValueError: Missing staticfiles manifest entry for 'inline.bundle.js'
now all the research I have done points that it…

weridpotato
- 261
- 1
- 3
- 11
0
votes
1 answer
static file issue causing django 500 error?
I am using angular heroku and django. I have been noticing that when I use 'ng build' to build new static files to add to django then push to heroku, the heroku instance is showing a website that is several versions behind what my current code is.…

weridpotato
- 261
- 1
- 3
- 11